#!/usr/bin/env python2
## -*- coding: utf-8 -*-

import sys

def sx(bits, value):
    sign_bit = 1 << (bits - 1)
    return (value & (sign_bit - 1)) - (value & sign_bit)

SymVar_0 = int(sys.argv[1])
ref_214 = SymVar_0
ref_225 = ref_214 # MOV operation
ref_237 = ref_225 # MOV operation
ref_239 = ref_237 # MOV operation
ref_273 = ((ref_239 >> 56) & 0xFF) # Byte reference - MOV operation
ref_274 = ((ref_239 >> 48) & 0xFF) # Byte reference - MOV operation
ref_275 = ((ref_239 >> 40) & 0xFF) # Byte reference - MOV operation
ref_276 = ((ref_239 >> 32) & 0xFF) # Byte reference - MOV operation
ref_277 = ((ref_239 >> 24) & 0xFF) # Byte reference - MOV operation
ref_278 = ((ref_239 >> 16) & 0xFF) # Byte reference - MOV operation
ref_279 = ((ref_239 >> 8) & 0xFF) # Byte reference - MOV operation
ref_280 = (ref_239 & 0xFF) # Byte reference - MOV operation
ref_146093 = ref_280 # MOVZX operation
ref_149269 = (ref_146093 & 0xFF) # MOVZX operation
ref_149271 = (ref_149269 & 0xFF) # MOVZX operation
ref_152465 = (ref_149271 & 0xFFFFFFFF) # MOV operation
ref_152467 = (((ref_152465 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_155683 = (ref_152467 & 0xFFFFFFFF) # MOV operation
ref_165361 = (ref_155683 & 0xFFFFFFFF) # MOV operation
ref_171781 = (ref_155683 & 0xFFFFFFFF) # MOV operation
ref_178193 = (ref_171781 & 0xFFFFFFFF) # MOV operation
ref_178201 = (((ref_178193 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_178208 = (ref_178201 & 0xFFFFFFFF) # MOV operation
ref_181418 = (ref_165361 & 0xFFFFFFFF) # MOV operation
ref_181422 = (ref_178208 & 0xFFFFFFFF) # MOV operation
ref_181424 = (((ref_181422 & 0xFFFFFFFF) + (ref_181418 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_184640 = (ref_181424 & 0xFFFFFFFF) # MOV operation
ref_194318 = (ref_184640 & 0xFFFFFFFF) # MOV operation
ref_200730 = (ref_194318 & 0xFFFFFFFF) # MOV operation
ref_200738 = ((ref_200730 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_200745 = (ref_200738 & 0xFFFFFFFF) # MOV operation
ref_207185 = (ref_184640 & 0xFFFFFFFF) # MOV operation
ref_210367 = (ref_207185 & 0xFFFFFFFF) # MOV operation
ref_210379 = (ref_200745 & 0xFFFFFFFF) # MOV operation
ref_210381 = ((ref_210379 & 0xFFFFFFFF) ^ (ref_210367 & 0xFFFFFFFF)) # XOR operation
ref_213596 = (ref_210381 & 0xFFFFFFFF) # MOV operation
ref_277973 = (ref_213596 & 0xFFFFFFFF) # MOV operation
ref_306861 = ref_279 # MOVZX operation
ref_310037 = (ref_306861 & 0xFF) # MOVZX operation
ref_310039 = (ref_310037 & 0xFF) # MOVZX operation
ref_313229 = (ref_277973 & 0xFFFFFFFF) # MOV operation
ref_313233 = (ref_310039 & 0xFFFFFFFF) # MOV operation
ref_313235 = (((ref_313233 & 0xFFFFFFFF) + (ref_313229 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_316451 = (ref_313235 & 0xFFFFFFFF) # MOV operation
ref_326129 = (ref_316451 & 0xFFFFFFFF) # MOV operation
ref_332549 = (ref_316451 & 0xFFFFFFFF) # MOV operation
ref_338961 = (ref_332549 & 0xFFFFFFFF) # MOV operation
ref_338969 = (((ref_338961 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_338976 = (ref_338969 & 0xFFFFFFFF) # MOV operation
ref_342186 = (ref_326129 & 0xFFFFFFFF) # MOV operation
ref_342190 = (ref_338976 & 0xFFFFFFFF) # MOV operation
ref_342192 = (((ref_342190 & 0xFFFFFFFF) + (ref_342186 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_345408 = (ref_342192 & 0xFFFFFFFF) # MOV operation
ref_355086 = (ref_345408 & 0xFFFFFFFF) # MOV operation
ref_361498 = (ref_355086 & 0xFFFFFFFF) # MOV operation
ref_361506 = ((ref_361498 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_361513 = (ref_361506 & 0xFFFFFFFF) # MOV operation
ref_367953 = (ref_345408 & 0xFFFFFFFF) # MOV operation
ref_371135 = (ref_367953 & 0xFFFFFFFF) # MOV operation
ref_371147 = (ref_361513 & 0xFFFFFFFF) # MOV operation
ref_371149 = ((ref_371147 & 0xFFFFFFFF) ^ (ref_371135 & 0xFFFFFFFF)) # XOR operation
ref_374364 = (ref_371149 & 0xFFFFFFFF) # MOV operation
ref_438741 = (ref_374364 & 0xFFFFFFFF) # MOV operation
ref_467629 = ref_278 # MOVZX operation
ref_470805 = (ref_467629 & 0xFF) # MOVZX operation
ref_470807 = (ref_470805 & 0xFF) # MOVZX operation
ref_473997 = (ref_438741 & 0xFFFFFFFF) # MOV operation
ref_474001 = (ref_470807 & 0xFFFFFFFF) # MOV operation
ref_474003 = (((ref_474001 & 0xFFFFFFFF) + (ref_473997 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_477219 = (ref_474003 & 0xFFFFFFFF) # MOV operation
ref_486897 = (ref_477219 & 0xFFFFFFFF) # MOV operation
ref_493317 = (ref_477219 & 0xFFFFFFFF) # MOV operation
ref_499729 = (ref_493317 & 0xFFFFFFFF) # MOV operation
ref_499737 = (((ref_499729 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_499744 = (ref_499737 & 0xFFFFFFFF) # MOV operation
ref_502954 = (ref_486897 & 0xFFFFFFFF) # MOV operation
ref_502958 = (ref_499744 & 0xFFFFFFFF) # MOV operation
ref_502960 = (((ref_502958 & 0xFFFFFFFF) + (ref_502954 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_506176 = (ref_502960 & 0xFFFFFFFF) # MOV operation
ref_515854 = (ref_506176 & 0xFFFFFFFF) # MOV operation
ref_522266 = (ref_515854 & 0xFFFFFFFF) # MOV operation
ref_522274 = ((ref_522266 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_522281 = (ref_522274 & 0xFFFFFFFF) # MOV operation
ref_528721 = (ref_506176 & 0xFFFFFFFF) # MOV operation
ref_531903 = (ref_528721 & 0xFFFFFFFF) # MOV operation
ref_531915 = (ref_522281 & 0xFFFFFFFF) # MOV operation
ref_531917 = ((ref_531915 & 0xFFFFFFFF) ^ (ref_531903 & 0xFFFFFFFF)) # XOR operation
ref_535132 = (ref_531917 & 0xFFFFFFFF) # MOV operation
ref_599509 = (ref_535132 & 0xFFFFFFFF) # MOV operation
ref_628397 = ref_277 # MOVZX operation
ref_631573 = (ref_628397 & 0xFF) # MOVZX operation
ref_631575 = (ref_631573 & 0xFF) # MOVZX operation
ref_634765 = (ref_599509 & 0xFFFFFFFF) # MOV operation
ref_634769 = (ref_631575 & 0xFFFFFFFF) # MOV operation
ref_634771 = (((ref_634769 & 0xFFFFFFFF) + (ref_634765 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_637987 = (ref_634771 & 0xFFFFFFFF) # MOV operation
ref_647665 = (ref_637987 & 0xFFFFFFFF) # MOV operation
ref_654085 = (ref_637987 & 0xFFFFFFFF) # MOV operation
ref_660497 = (ref_654085 & 0xFFFFFFFF) # MOV operation
ref_660505 = (((ref_660497 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_660512 = (ref_660505 & 0xFFFFFFFF) # MOV operation
ref_663722 = (ref_647665 & 0xFFFFFFFF) # MOV operation
ref_663726 = (ref_660512 & 0xFFFFFFFF) # MOV operation
ref_663728 = (((ref_663726 & 0xFFFFFFFF) + (ref_663722 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_666944 = (ref_663728 & 0xFFFFFFFF) # MOV operation
ref_676622 = (ref_666944 & 0xFFFFFFFF) # MOV operation
ref_683034 = (ref_676622 & 0xFFFFFFFF) # MOV operation
ref_683042 = ((ref_683034 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_683049 = (ref_683042 & 0xFFFFFFFF) # MOV operation
ref_689489 = (ref_666944 & 0xFFFFFFFF) # MOV operation
ref_692671 = (ref_689489 & 0xFFFFFFFF) # MOV operation
ref_692683 = (ref_683049 & 0xFFFFFFFF) # MOV operation
ref_692685 = ((ref_692683 & 0xFFFFFFFF) ^ (ref_692671 & 0xFFFFFFFF)) # XOR operation
ref_695900 = (ref_692685 & 0xFFFFFFFF) # MOV operation
ref_760277 = (ref_695900 & 0xFFFFFFFF) # MOV operation
ref_789165 = ref_276 # MOVZX operation
ref_792341 = (ref_789165 & 0xFF) # MOVZX operation
ref_792343 = (ref_792341 & 0xFF) # MOVZX operation
ref_795533 = (ref_760277 & 0xFFFFFFFF) # MOV operation
ref_795537 = (ref_792343 & 0xFFFFFFFF) # MOV operation
ref_795539 = (((ref_795537 & 0xFFFFFFFF) + (ref_795533 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_798755 = (ref_795539 & 0xFFFFFFFF) # MOV operation
ref_808433 = (ref_798755 & 0xFFFFFFFF) # MOV operation
ref_814853 = (ref_798755 & 0xFFFFFFFF) # MOV operation
ref_821265 = (ref_814853 & 0xFFFFFFFF) # MOV operation
ref_821273 = (((ref_821265 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_821280 = (ref_821273 & 0xFFFFFFFF) # MOV operation
ref_824490 = (ref_808433 & 0xFFFFFFFF) # MOV operation
ref_824494 = (ref_821280 & 0xFFFFFFFF) # MOV operation
ref_824496 = (((ref_824494 & 0xFFFFFFFF) + (ref_824490 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_827712 = (ref_824496 & 0xFFFFFFFF) # MOV operation
ref_837390 = (ref_827712 & 0xFFFFFFFF) # MOV operation
ref_843802 = (ref_837390 & 0xFFFFFFFF) # MOV operation
ref_843810 = ((ref_843802 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_843817 = (ref_843810 & 0xFFFFFFFF) # MOV operation
ref_850257 = (ref_827712 & 0xFFFFFFFF) # MOV operation
ref_853439 = (ref_850257 & 0xFFFFFFFF) # MOV operation
ref_853451 = (ref_843817 & 0xFFFFFFFF) # MOV operation
ref_853453 = ((ref_853451 & 0xFFFFFFFF) ^ (ref_853439 & 0xFFFFFFFF)) # XOR operation
ref_856668 = (ref_853453 & 0xFFFFFFFF) # MOV operation
ref_921045 = (ref_856668 & 0xFFFFFFFF) # MOV operation
ref_949933 = ref_275 # MOVZX operation
ref_953109 = (ref_949933 & 0xFF) # MOVZX operation
ref_953111 = (ref_953109 & 0xFF) # MOVZX operation
ref_956301 = (ref_921045 & 0xFFFFFFFF) # MOV operation
ref_956305 = (ref_953111 & 0xFFFFFFFF) # MOV operation
ref_956307 = (((ref_956305 & 0xFFFFFFFF) + (ref_956301 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_959523 = (ref_956307 & 0xFFFFFFFF) # MOV operation
ref_969201 = (ref_959523 & 0xFFFFFFFF) # MOV operation
ref_975621 = (ref_959523 & 0xFFFFFFFF) # MOV operation
ref_982033 = (ref_975621 & 0xFFFFFFFF) # MOV operation
ref_982041 = (((ref_982033 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_982048 = (ref_982041 & 0xFFFFFFFF) # MOV operation
ref_985258 = (ref_969201 & 0xFFFFFFFF) # MOV operation
ref_985262 = (ref_982048 & 0xFFFFFFFF) # MOV operation
ref_985264 = (((ref_985262 & 0xFFFFFFFF) + (ref_985258 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_988480 = (ref_985264 & 0xFFFFFFFF) # MOV operation
ref_998158 = (ref_988480 & 0xFFFFFFFF) # MOV operation
ref_1004570 = (ref_998158 & 0xFFFFFFFF) # MOV operation
ref_1004578 = ((ref_1004570 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1004585 = (ref_1004578 & 0xFFFFFFFF) # MOV operation
ref_1011025 = (ref_988480 & 0xFFFFFFFF) # MOV operation
ref_1014207 = (ref_1011025 & 0xFFFFFFFF) # MOV operation
ref_1014219 = (ref_1004585 & 0xFFFFFFFF) # MOV operation
ref_1014221 = ((ref_1014219 & 0xFFFFFFFF) ^ (ref_1014207 & 0xFFFFFFFF)) # XOR operation
ref_1017436 = (ref_1014221 & 0xFFFFFFFF) # MOV operation
ref_1081813 = (ref_1017436 & 0xFFFFFFFF) # MOV operation
ref_1110701 = ref_274 # MOVZX operation
ref_1113877 = (ref_1110701 & 0xFF) # MOVZX operation
ref_1113879 = (ref_1113877 & 0xFF) # MOVZX operation
ref_1117069 = (ref_1081813 & 0xFFFFFFFF) # MOV operation
ref_1117073 = (ref_1113879 & 0xFFFFFFFF) # MOV operation
ref_1117075 = (((ref_1117073 & 0xFFFFFFFF) + (ref_1117069 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1120291 = (ref_1117075 & 0xFFFFFFFF) # MOV operation
ref_1129969 = (ref_1120291 & 0xFFFFFFFF) # MOV operation
ref_1136389 = (ref_1120291 & 0xFFFFFFFF) # MOV operation
ref_1142801 = (ref_1136389 & 0xFFFFFFFF) # MOV operation
ref_1142809 = (((ref_1142801 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1142816 = (ref_1142809 & 0xFFFFFFFF) # MOV operation
ref_1146026 = (ref_1129969 & 0xFFFFFFFF) # MOV operation
ref_1146030 = (ref_1142816 & 0xFFFFFFFF) # MOV operation
ref_1146032 = (((ref_1146030 & 0xFFFFFFFF) + (ref_1146026 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1149248 = (ref_1146032 & 0xFFFFFFFF) # MOV operation
ref_1158926 = (ref_1149248 & 0xFFFFFFFF) # MOV operation
ref_1165338 = (ref_1158926 & 0xFFFFFFFF) # MOV operation
ref_1165346 = ((ref_1165338 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1165353 = (ref_1165346 & 0xFFFFFFFF) # MOV operation
ref_1171793 = (ref_1149248 & 0xFFFFFFFF) # MOV operation
ref_1174975 = (ref_1171793 & 0xFFFFFFFF) # MOV operation
ref_1174987 = (ref_1165353 & 0xFFFFFFFF) # MOV operation
ref_1174989 = ((ref_1174987 & 0xFFFFFFFF) ^ (ref_1174975 & 0xFFFFFFFF)) # XOR operation
ref_1178204 = (ref_1174989 & 0xFFFFFFFF) # MOV operation
ref_1242581 = (ref_1178204 & 0xFFFFFFFF) # MOV operation
ref_1271469 = ref_273 # MOVZX operation
ref_1274645 = (ref_1271469 & 0xFF) # MOVZX operation
ref_1274647 = (ref_1274645 & 0xFF) # MOVZX operation
ref_1277837 = (ref_1242581 & 0xFFFFFFFF) # MOV operation
ref_1277841 = (ref_1274647 & 0xFFFFFFFF) # MOV operation
ref_1277843 = (((ref_1277841 & 0xFFFFFFFF) + (ref_1277837 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1281059 = (ref_1277843 & 0xFFFFFFFF) # MOV operation
ref_1290737 = (ref_1281059 & 0xFFFFFFFF) # MOV operation
ref_1297157 = (ref_1281059 & 0xFFFFFFFF) # MOV operation
ref_1303569 = (ref_1297157 & 0xFFFFFFFF) # MOV operation
ref_1303577 = (((ref_1303569 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1303584 = (ref_1303577 & 0xFFFFFFFF) # MOV operation
ref_1306794 = (ref_1290737 & 0xFFFFFFFF) # MOV operation
ref_1306798 = (ref_1303584 & 0xFFFFFFFF) # MOV operation
ref_1306800 = (((ref_1306798 & 0xFFFFFFFF) + (ref_1306794 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1310016 = (ref_1306800 & 0xFFFFFFFF) # MOV operation
ref_1319694 = (ref_1310016 & 0xFFFFFFFF) # MOV operation
ref_1326106 = (ref_1319694 & 0xFFFFFFFF) # MOV operation
ref_1326114 = ((ref_1326106 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1326121 = (ref_1326114 & 0xFFFFFFFF) # MOV operation
ref_1332561 = (ref_1310016 & 0xFFFFFFFF) # MOV operation
ref_1335743 = (ref_1332561 & 0xFFFFFFFF) # MOV operation
ref_1335755 = (ref_1326121 & 0xFFFFFFFF) # MOV operation
ref_1335757 = ((ref_1335755 & 0xFFFFFFFF) ^ (ref_1335743 & 0xFFFFFFFF)) # XOR operation
ref_1338972 = (ref_1335757 & 0xFFFFFFFF) # MOV operation
ref_1377526 = (ref_1338972 & 0xFFFFFFFF) # MOV operation
ref_1383946 = (ref_1338972 & 0xFFFFFFFF) # MOV operation
ref_1390358 = (ref_1383946 & 0xFFFFFFFF) # MOV operation
ref_1390366 = (((ref_1390358 & 0xFFFFFFFF) << (0x3 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1390373 = (ref_1390366 & 0xFFFFFFFF) # MOV operation
ref_1393583 = (ref_1377526 & 0xFFFFFFFF) # MOV operation
ref_1393587 = (ref_1390373 & 0xFFFFFFFF) # MOV operation
ref_1393589 = (((ref_1393587 & 0xFFFFFFFF) + (ref_1393583 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1396805 = (ref_1393589 & 0xFFFFFFFF) # MOV operation
ref_1406483 = (ref_1396805 & 0xFFFFFFFF) # MOV operation
ref_1412895 = (ref_1406483 & 0xFFFFFFFF) # MOV operation
ref_1412903 = ((ref_1412895 & 0xFFFFFFFF) >> (0xB & 0x1F)) # SHR operation
ref_1412910 = (ref_1412903 & 0xFFFFFFFF) # MOV operation
ref_1419350 = (ref_1396805 & 0xFFFFFFFF) # MOV operation
ref_1422532 = (ref_1419350 & 0xFFFFFFFF) # MOV operation
ref_1422544 = (ref_1412910 & 0xFFFFFFFF) # MOV operation
ref_1422546 = ((ref_1422544 & 0xFFFFFFFF) ^ (ref_1422532 & 0xFFFFFFFF)) # XOR operation
ref_1425761 = (ref_1422546 & 0xFFFFFFFF) # MOV operation
ref_1435439 = (ref_1425761 & 0xFFFFFFFF) # MOV operation
ref_1441859 = (ref_1425761 & 0xFFFFFFFF) # MOV operation
ref_1448271 = (ref_1441859 & 0xFFFFFFFF) # MOV operation
ref_1448279 = (((ref_1448271 & 0xFFFFFFFF) << (0xF & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1448286 = (ref_1448279 & 0xFFFFFFFF) # MOV operation
ref_1451496 = (ref_1435439 & 0xFFFFFFFF) # MOV operation
ref_1451500 = (ref_1448286 & 0xFFFFFFFF) # MOV operation
ref_1451502 = (((ref_1451500 & 0xFFFFFFFF) + (ref_1451496 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1454718 = (ref_1451502 & 0xFFFFFFFF) # MOV operation
ref_1464352 = (ref_1454718 & 0xFFFFFFFF) # MOV operation
ref_1467530 = (ref_1464352 & 0xFFFFFFFF) # MOV operation
ref_1467554 = (ref_1467530 & 0xFFFFFFFF) # MOV operation
ref_1467562 = (ref_1467554 & 0xFFFFFFFF) # MOV operation
ref_1467564 = (ref_1467562 & 0xFFFFFFFF) # MOV operation

print ref_1467564 & 0xffffffffffffffff
