<s> import sys <EOL> import json <EOL> import pprint <EOL> exit = False <EOL> while True : <EOL> line = sys . stdin . readline ( ) . strip ( ) <EOL> if not line : <EOL> if exit : <EOL> sys . exit ( <NUM_LIT:0> ) <EOL> exit = True <EOL> else : <EOL> exit = False <EOL> print >> sys . stderr , '<STR_LIT>' <EOL> print >> sys . stderr , line <EOL> print >> sys . stderr , '<STR_LIT>' <EOL> print >> sys . stderr , pprint . pformat ( json . loads ( line ) , indent = <NUM_LIT:3> ) . replace ( "<STR_LIT>" , "<STR_LIT:'>" ) <EOL> sys . stderr . flush ( ) </s>
