<s> """<STR_LIT>""" <EOL> class LookingGlass : <EOL> def __enter__ ( self ) : <EOL> import sys <EOL> self . original_write = sys . stdout . write <EOL> sys . stdout . write = self . reverse_write <EOL> return '<STR_LIT>' <EOL> def reverse_write ( self , text ) : <EOL> self . original_write ( text [ : : - <NUM_LIT:1> ] ) <EOL> def __exit__ ( self , exc_type , exc_value , traceback ) : <EOL> import sys <EOL> sys . stdout . write = self . original_write <EOL> if exc_type is ZeroDivisionError : <EOL> print ( '<STR_LIT>' ) <EOL> return True </s>
