<s> '''<STR_LIT>''' <EOL> import sys <EOL> import zlib <EOL> import pylzma <EOL> def EXTRACT_SWF ( s , buff ) : <EOL> SWF = { } <EOL> magic = buff [ : <NUM_LIT:3> ] <EOL> data = '<STR_LIT>' <EOL> if magic == '<STR_LIT>' : <EOL> SWF [ '<STR_LIT>' ] = '<STR_LIT>' + buff [ <NUM_LIT:3> : <NUM_LIT:8> ] + zlib . decompress ( buff [ <NUM_LIT:8> : ] ) <EOL> elif magic == '<STR_LIT>' : <EOL> SWF [ '<STR_LIT>' ] = '<STR_LIT>' + buff [ <NUM_LIT:3> : <NUM_LIT:8> ] + pylzma . decompress ( buff [ <NUM_LIT:12> : ] ) <EOL> elif magic == '<STR_LIT>' : <EOL> SWF [ '<STR_LIT>' ] = ord ( buff [ <NUM_LIT:3> ] ) <EOL> return SWF <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> print EXTRACT_SWF ( None , sys . stdin . read ( ) ) </s>
