<s> import sys <EOL> def write_stdout ( s ) : <EOL> sys . stdout . write ( s ) <EOL> sys . stdout . flush ( ) <EOL> def write_stderr ( s ) : <EOL> sys . stderr . write ( s ) <EOL> sys . stderr . flush ( ) <EOL> def main ( ) : <EOL> while <NUM_LIT:1> : <EOL> write_stdout ( '<STR_LIT>' ) <EOL> line = sys . stdin . readline ( ) <EOL> write_stderr ( line ) <EOL> headers = dict ( [ x . split ( '<STR_LIT::>' ) for x in line . split ( ) ] ) <EOL> data = sys . stdin . read ( int ( headers [ '<STR_LIT>' ] ) ) <EOL> write_stderr ( data ) <EOL> write_stdout ( '<STR_LIT>' ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
