#!/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_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_9054 = ref_278 # MOV operation
ref_9513 = ref_9054 # MOV operation
ref_9531 = (ref_9513 >> (0x5 & 0x3F)) # SHR operation
ref_9538 = ref_9531 # MOV operation
ref_10650 = ref_9538 # MOV operation
ref_10658 = (0x1376783EF7559EA & ref_10650) # AND operation
ref_14889 = ref_10658 # MOV operation
ref_14891 = ((ref_14889 >> 56) & 0xFF) # Byte reference - MOV operation
ref_14892 = ((ref_14889 >> 48) & 0xFF) # Byte reference - MOV operation
ref_14893 = ((ref_14889 >> 40) & 0xFF) # Byte reference - MOV operation
ref_14894 = ((ref_14889 >> 32) & 0xFF) # Byte reference - MOV operation
ref_14895 = ((ref_14889 >> 24) & 0xFF) # Byte reference - MOV operation
ref_14896 = ((ref_14889 >> 16) & 0xFF) # Byte reference - MOV operation
ref_14897 = ((ref_14889 >> 8) & 0xFF) # Byte reference - MOV operation
ref_14898 = (ref_14889 & 0xFF) # Byte reference - MOV operation
ref_18968 = ref_14889 # MOV operation
ref_19922 = ref_18968 # MOV operation
ref_19930 = (0x7063FB7 & ref_19922) # AND operation
ref_24492 = ref_278 # MOV operation
ref_24949 = ref_24492 # MOV operation
ref_24965 = (0x1A5612E2 | ref_24949) # OR operation
ref_25575 = ref_24965 # MOV operation
ref_25589 = ref_19930 # MOV operation
ref_25591 = ((ref_25589 + ref_25575) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_29625 = ref_25591 # MOV operation
ref_29627 = ((ref_29625 >> 56) & 0xFF) # Byte reference - MOV operation
ref_29628 = ((ref_29625 >> 48) & 0xFF) # Byte reference - MOV operation
ref_29629 = ((ref_29625 >> 40) & 0xFF) # Byte reference - MOV operation
ref_29630 = ((ref_29625 >> 32) & 0xFF) # Byte reference - MOV operation
ref_29631 = ((ref_29625 >> 24) & 0xFF) # Byte reference - MOV operation
ref_29632 = ((ref_29625 >> 16) & 0xFF) # Byte reference - MOV operation
ref_29633 = ((ref_29625 >> 8) & 0xFF) # Byte reference - MOV operation
ref_29634 = (ref_29625 & 0xFF) # Byte reference - MOV operation
ref_34184 = ref_278 # MOV operation
ref_34673 = ref_34184 # MOV operation
ref_34689 = ((ref_34673 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_34697 = ref_34689 # MOV operation
ref_40995 = ref_29625 # MOV operation
ref_41412 = ref_40995 # MOV operation
ref_41430 = (ref_41412 >> (0x3 & 0x3F)) # SHR operation
ref_41437 = ref_41430 # MOV operation
ref_42433 = ref_41437 # MOV operation
ref_42441 = (0xF & ref_42433) # AND operation
ref_42897 = ref_42441 # MOV operation
ref_42913 = (0x1 | ref_42897) # OR operation
ref_43979 = ref_42913 # MOV operation
ref_43981 = ((0x40 - ref_43979) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_43989 = ref_43981 # MOV operation
ref_44986 = ref_43989 # MOV operation
ref_44988 = (ref_44986 & 0xFFFFFFFF) # MOV operation
ref_44990 = (0x3162E74F >> ((ref_44988 & 0xFF) & 0x3F)) # SHR operation
ref_44997 = ref_44990 # MOV operation
ref_50755 = ref_29625 # MOV operation
ref_51164 = ref_50755 # MOV operation
ref_51182 = (ref_51164 >> (0x3 & 0x3F)) # SHR operation
ref_51189 = ref_51182 # MOV operation
ref_52312 = ref_51189 # MOV operation
ref_52320 = (0xF & ref_52312) # AND operation
ref_52780 = ref_52320 # MOV operation
ref_52796 = (0x1 | ref_52780) # OR operation
ref_53366 = ref_52796 # MOV operation
ref_53368 = (ref_53366 & 0xFFFFFFFF) # MOV operation
ref_53370 = ((0x3162E74F << ((ref_53368 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_53377 = ref_53370 # MOV operation
ref_53840 = ref_53377 # MOV operation
ref_53854 = ref_44997 # MOV operation
ref_53856 = (ref_53854 | ref_53840) # OR operation
ref_54388 = ref_53856 # MOV operation
ref_54406 = (ref_54388 >> (0x4 & 0x3F)) # SHR operation
ref_54413 = ref_54406 # MOV operation
ref_55398 = ref_54413 # MOV operation
ref_55406 = (0x7 & ref_55398) # AND operation
ref_55854 = ref_55406 # MOV operation
ref_55870 = (0x1 | ref_55854) # OR operation
ref_56334 = ref_34697 # MOV operation
ref_56340 = ref_55870 # MOV operation
ref_56342 = (ref_56340 & 0xFFFFFFFF) # MOV operation
ref_56344 = ((ref_56334 << ((ref_56342 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_56351 = ref_56344 # MOV operation
ref_60567 = ref_56351 # MOV operation
ref_65051 = ref_278 # MOV operation
ref_65646 = ref_65051 # MOV operation
ref_65662 = ((ref_65646 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_65670 = ref_65662 # MOV operation
ref_69733 = ref_65670 # MOV operation
ref_80028 = ref_29625 # MOV operation
ref_81026 = ref_80028 # MOV operation
ref_81034 = (0xF & ref_81026) # AND operation
ref_81998 = ref_81034 # MOV operation
ref_82008 = ((ref_81998 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_82015 = ref_82008 # MOV operation
ref_86073 = ref_69733 # MOV operation
ref_86592 = ref_86073 # MOV operation
ref_86606 = ref_82015 # MOV operation
ref_86608 = (ref_86606 | ref_86592) # OR operation
ref_90796 = ref_86608 # MOV operation
ref_94921 = ref_90796 # MOV operation
ref_95875 = ref_94921 # MOV operation
ref_95883 = (0x1F & ref_95875) # AND operation
ref_96867 = ref_95883 # MOV operation
ref_96877 = ((ref_96867 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_96884 = ref_96877 # MOV operation
ref_100965 = ref_60567 # MOV operation
ref_101440 = ref_100965 # MOV operation
ref_101454 = ref_96884 # MOV operation
ref_101456 = (ref_101454 | ref_101440) # OR operation
ref_105767 = ref_101456 # MOV operation
ref_111276 = ref_29625 # MOV operation
ref_112328 = ref_111276 # MOV operation
ref_112336 = (0xF & ref_112328) # AND operation
ref_113376 = ref_112336 # MOV operation
ref_113386 = ((ref_113376 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_113393 = ref_113386 # MOV operation
ref_117559 = ref_90796 # MOV operation
ref_117972 = ref_117559 # MOV operation
ref_117986 = ref_113393 # MOV operation
ref_117988 = (ref_117986 | ref_117972) # OR operation
ref_122178 = ref_117988 # MOV operation
ref_133947 = ref_122178 # MOV operation
ref_134889 = ref_133947 # MOV operation
ref_134897 = (0xF & ref_134889) # AND operation
ref_135926 = ref_134897 # MOV operation
ref_135936 = ((ref_135926 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_135943 = ref_135936 # MOV operation
ref_140020 = ref_122178 # MOV operation
ref_140521 = ref_140020 # MOV operation
ref_140535 = ref_135943 # MOV operation
ref_140537 = (ref_140535 | ref_140521) # OR operation
ref_144625 = ref_140537 # MOV operation
ref_148776 = ref_144625 # MOV operation
ref_149694 = ref_148776 # MOV operation
ref_149702 = (0x1F & ref_149694) # AND operation
ref_150765 = ref_149702 # MOV operation
ref_150775 = ((ref_150765 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_150782 = ref_150775 # MOV operation
ref_154835 = ref_105767 # MOV operation
ref_155340 = ref_154835 # MOV operation
ref_155354 = ref_150782 # MOV operation
ref_155356 = (ref_155354 | ref_155340) # OR operation
ref_159493 = ref_155356 # MOV operation
ref_159495 = ((ref_159493 >> 56) & 0xFF) # Byte reference - MOV operation
ref_159496 = ((ref_159493 >> 48) & 0xFF) # Byte reference - MOV operation
ref_159497 = ((ref_159493 >> 40) & 0xFF) # Byte reference - MOV operation
ref_159498 = ((ref_159493 >> 32) & 0xFF) # Byte reference - MOV operation
ref_159499 = ((ref_159493 >> 24) & 0xFF) # Byte reference - MOV operation
ref_159500 = ((ref_159493 >> 16) & 0xFF) # Byte reference - MOV operation
ref_159501 = ((ref_159493 >> 8) & 0xFF) # Byte reference - MOV operation
ref_159502 = (ref_159493 & 0xFF) # Byte reference - MOV operation
ref_165030 = ref_144625 # MOV operation
ref_166016 = ref_165030 # MOV operation
ref_166024 = (0xF & ref_166016) # AND operation
ref_167117 = ref_166024 # MOV operation
ref_167127 = ((ref_167117 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_167134 = ref_167127 # MOV operation
ref_171237 = ref_144625 # MOV operation
ref_171710 = ref_171237 # MOV operation
ref_171724 = ref_167134 # MOV operation
ref_171726 = (ref_171724 | ref_171710) # OR operation
ref_175839 = ref_171726 # MOV operation
ref_208449 = ref_159493 # MOV operation
ref_212543 = ref_159493 # MOV operation
ref_213060 = ref_212543 # MOV operation
ref_213074 = ref_208449 # MOV operation
ref_213076 = ((ref_213074 + ref_213060) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_214140 = ref_213076 # MOV operation
ref_214148 = (0x7 & ref_214140) # AND operation
ref_215099 = ref_214148 # MOV operation
ref_215109 = ((ref_215099 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_215116 = ref_215109 # MOV operation
ref_219060 = ref_175839 # MOV operation
ref_219584 = ref_219060 # MOV operation
ref_219598 = ref_215116 # MOV operation
ref_219600 = (ref_219598 | ref_219584) # OR operation
ref_223689 = ref_219600 # MOV operation
ref_230699 = ((((ref_159495) << 8 | ref_159496) << 8 | ref_159497) << 8 | ref_159498) # MOV operation
ref_231735 = (ref_230699 & 0xFFFFFFFF) # MOV operation
ref_238907 = ((((ref_159499) << 8 | ref_159500) << 8 | ref_159501) << 8 | ref_159502) # MOV operation
ref_245979 = (ref_238907 & 0xFFFFFFFF) # MOV operation
ref_245981 = (((ref_245979 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_245982 = (((ref_245979 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_245983 = (((ref_245979 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_245984 = ((ref_245979 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_246970 = (ref_231735 & 0xFFFFFFFF) # MOV operation
ref_254154 = (ref_246970 & 0xFFFFFFFF) # MOV operation
ref_254156 = (((ref_254154 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_254157 = (((ref_254154 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_254158 = (((ref_254154 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_254159 = ((ref_254154 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_261847 = ref_14893 # MOVZX operation
ref_262280 = (ref_261847 & 0xFF) # MOVZX operation
ref_276107 = ref_14894 # MOVZX operation
ref_276620 = (ref_276107 & 0xFF) # MOVZX operation
ref_276622 = (ref_276620 & 0xFF) # Byte reference - MOV operation
ref_284151 = (ref_262280 & 0xFF) # MOVZX operation
ref_284662 = (ref_284151 & 0xFF) # MOVZX operation
ref_284664 = (ref_284662 & 0xFF) # Byte reference - MOV operation
ref_292389 = ref_14892 # MOVZX operation
ref_292876 = (ref_292389 & 0xFF) # MOVZX operation
ref_306648 = ref_14898 # MOVZX operation
ref_307053 = (ref_306648 & 0xFF) # MOVZX operation
ref_307055 = (ref_307053 & 0xFF) # Byte reference - MOV operation
ref_314710 = (ref_292876 & 0xFF) # MOVZX operation
ref_315175 = (ref_314710 & 0xFF) # MOVZX operation
ref_315177 = (ref_315175 & 0xFF) # Byte reference - MOV operation
ref_322306 = ((((ref_29631) << 8 | ref_29632) << 8 | ref_29633) << 8 | ref_29634) # MOV operation
ref_323305 = (ref_322306 & 0xFFFFFFFF) # MOV operation
ref_330451 = ((((ref_29627) << 8 | ref_29628) << 8 | ref_29629) << 8 | ref_29630) # MOV operation
ref_337551 = (ref_330451 & 0xFFFFFFFF) # MOV operation
ref_337553 = (((ref_337551 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_337554 = (((ref_337551 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_337555 = (((ref_337551 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_337556 = ((ref_337551 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_338539 = (ref_323305 & 0xFFFFFFFF) # MOV operation
ref_345755 = (ref_338539 & 0xFFFFFFFF) # MOV operation
ref_345757 = (((ref_345755 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_345758 = (((ref_345755 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_345759 = (((ref_345755 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_345760 = ((ref_345755 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_356355 = ((((((((ref_14891) << 8 | ref_307055) << 8 | ref_276622) << 8 | ref_284664) << 8 | ref_14895) << 8 | ref_14896) << 8 | ref_14897) << 8 | ref_315177) # MOV operation
ref_357427 = ref_356355 # MOV operation
ref_357435 = (0x3F & ref_357427) # AND operation
ref_358454 = ref_357435 # MOV operation
ref_358464 = ((ref_358454 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_358471 = ref_358464 # MOV operation
ref_362965 = ((((((((ref_345757) << 8 | ref_345758) << 8 | ref_345759) << 8 | ref_345760) << 8 | ref_337553) << 8 | ref_337554) << 8 | ref_337555) << 8 | ref_337556) # MOV operation
ref_363436 = ref_362965 # MOV operation
ref_363450 = ref_358471 # MOV operation
ref_363452 = (ref_363450 | ref_363436) # OR operation
ref_368042 = ref_363452 # MOV operation
ref_379211 = ref_223689 # MOV operation
ref_384375 = ref_368042 # MOV operation
ref_384878 = ref_384375 # MOV operation
ref_384896 = (ref_384878 >> (0x3 & 0x3F)) # SHR operation
ref_384903 = ref_384896 # MOV operation
ref_385945 = ref_384903 # MOV operation
ref_385953 = (0xF & ref_385945) # AND operation
ref_386349 = ref_385953 # MOV operation
ref_386365 = (0x1 | ref_386349) # OR operation
ref_387394 = ref_386365 # MOV operation
ref_387396 = ((0x40 - ref_387394) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_387404 = ref_387396 # MOV operation
ref_387867 = ref_379211 # MOV operation
ref_387873 = ref_387404 # MOV operation
ref_387875 = (ref_387873 & 0xFFFFFFFF) # MOV operation
ref_387877 = ((ref_387867 << ((ref_387875 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_387884 = ref_387877 # MOV operation
ref_392974 = ref_368042 # MOV operation
ref_393499 = ref_392974 # MOV operation
ref_393517 = (ref_393499 >> (0x3 & 0x3F)) # SHR operation
ref_393524 = ref_393517 # MOV operation
ref_394544 = ref_393524 # MOV operation
ref_394552 = (0xF & ref_394544) # AND operation
ref_395078 = ref_394552 # MOV operation
ref_395094 = (0x1 | ref_395078) # OR operation
ref_399314 = ref_223689 # MOV operation
ref_399715 = ref_399314 # MOV operation
ref_399729 = ref_395094 # MOV operation
ref_399731 = (ref_399729 & 0xFFFFFFFF) # MOV operation
ref_399733 = (ref_399715 >> ((ref_399731 & 0xFF) & 0x3F)) # SHR operation
ref_399740 = ref_399733 # MOV operation
ref_400221 = ref_399740 # MOV operation
ref_400235 = ref_387884 # MOV operation
ref_400237 = (ref_400235 | ref_400221) # OR operation
ref_401178 = ref_400237 # MOV operation
ref_401186 = (0xF & ref_401178) # AND operation
ref_402247 = ref_401186 # MOV operation
ref_402257 = ((ref_402247 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_402264 = ref_402257 # MOV operation
ref_406270 = ((((((((ref_245981) << 8 | ref_245982) << 8 | ref_245983) << 8 | ref_245984) << 8 | ref_254156) << 8 | ref_254157) << 8 | ref_254158) << 8 | ref_254159) # MOV operation
ref_406787 = ref_406270 # MOV operation
ref_406801 = ref_402264 # MOV operation
ref_406803 = (ref_406801 | ref_406787) # OR operation
ref_410996 = ref_406803 # MOV operation
ref_415061 = ref_223689 # MOV operation
ref_419097 = ref_410996 # MOV operation
ref_419530 = ref_419097 # MOV operation
ref_419544 = ref_415061 # MOV operation
ref_419546 = (ref_419544 | ref_419530) # OR operation
ref_423773 = ((((((((ref_14891) << 8 | ref_307055) << 8 | ref_276622) << 8 | ref_284664) << 8 | ref_14895) << 8 | ref_14896) << 8 | ref_14897) << 8 | ref_315177) # MOV operation
ref_428744 = ref_368042 # MOV operation
ref_429157 = ref_428744 # MOV operation
ref_429175 = (ref_429157 >> (0x3 & 0x3F)) # SHR operation
ref_429182 = ref_429175 # MOV operation
ref_430195 = ref_429182 # MOV operation
ref_430203 = (0x7 & ref_430195) # AND operation
ref_430637 = ref_430203 # MOV operation
ref_430653 = (0x1 | ref_430637) # OR operation
ref_431155 = ref_423773 # MOV operation
ref_431161 = ref_430653 # MOV operation
ref_431163 = (ref_431161 & 0xFFFFFFFF) # MOV operation
ref_431165 = ((ref_431155 << ((ref_431163 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_431172 = ref_431165 # MOV operation
ref_431701 = ref_431172 # MOV operation
ref_431715 = ref_419546 # MOV operation
ref_431717 = (ref_431715 | ref_431701) # OR operation
ref_435665 = ref_431717 # MOV operation
ref_436731 = ref_435665 # MOV operation
ref_436733 = ref_436731 # MOV operation

print ref_436733 & 0xffffffffffffffff
