#!/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_269 = SymVar_0
ref_284 = ref_269 # MOV operation
ref_12848 = ref_284 # MOV operation
ref_13278 = ref_12848 # MOV operation
ref_13292 = ((ref_13278 - 0x35CEDE6D) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_13300 = ref_13292 # MOV operation
ref_16982 = ref_13300 # MOV operation
ref_20709 = ref_284 # MOV operation
ref_21538 = ref_20709 # MOV operation
ref_21546 = ((((0x0) << 64 | ref_21538) / 0x7) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_25184 = ref_21546 # MOV operation
ref_28911 = ref_284 # MOV operation
ref_33719 = ref_25184 # MOV operation
ref_34613 = ref_33719 # MOV operation
ref_34621 = (ref_34613 >> (0x3 & 0x3F)) # SHR operation
ref_34628 = ref_34621 # MOV operation
ref_35505 = ref_34628 # MOV operation
ref_35511 = (0xF & ref_35505) # AND operation
ref_35952 = ref_35511 # MOV operation
ref_35966 = (0x1 | ref_35952) # OR operation
ref_36860 = ref_35966 # MOV operation
ref_36862 = ((0x40 - ref_36860) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_36870 = ref_36862 # MOV operation
ref_37406 = ref_36870 # MOV operation
ref_37408 = (ref_37406 & 0xFFFFFFFF) # MOV operation
ref_37410 = (0x7A11169 >> ((ref_37408 & 0xFF) & 0x3F)) # SHR operation
ref_37417 = ref_37410 # MOV operation
ref_41823 = ref_25184 # MOV operation
ref_42717 = ref_41823 # MOV operation
ref_42725 = (ref_42717 >> (0x3 & 0x3F)) # SHR operation
ref_42732 = ref_42725 # MOV operation
ref_43609 = ref_42732 # MOV operation
ref_43615 = (0xF & ref_43609) # AND operation
ref_44056 = ref_43615 # MOV operation
ref_44070 = (0x1 | ref_44056) # OR operation
ref_44483 = ref_44070 # MOV operation
ref_44485 = (ref_44483 & 0xFFFFFFFF) # MOV operation
ref_44487 = ((0x7A11169 << ((ref_44485 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_44494 = ref_44487 # MOV operation
ref_44929 = ref_44494 # MOV operation
ref_44941 = ref_37417 # MOV operation
ref_44943 = (ref_44941 | ref_44929) # OR operation
ref_45862 = ref_44943 # MOV operation
ref_45870 = (ref_45862 >> (0x4 & 0x3F)) # SHR operation
ref_45877 = ref_45870 # MOV operation
ref_46754 = ref_45877 # MOV operation
ref_46760 = (0xF & ref_46754) # AND operation
ref_47201 = ref_46760 # MOV operation
ref_47215 = (0x1 | ref_47201) # OR operation
ref_48109 = ref_47215 # MOV operation
ref_48111 = ((0x40 - ref_48109) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_48119 = ref_48111 # MOV operation
ref_48651 = ref_28911 # MOV operation
ref_48655 = ref_48119 # MOV operation
ref_48657 = (ref_48655 & 0xFFFFFFFF) # MOV operation
ref_48659 = (ref_48651 >> ((ref_48657 & 0xFF) & 0x3F)) # SHR operation
ref_48666 = ref_48659 # MOV operation
ref_52398 = ref_284 # MOV operation
ref_57206 = ref_25184 # MOV operation
ref_58100 = ref_57206 # MOV operation
ref_58108 = (ref_58100 >> (0x3 & 0x3F)) # SHR operation
ref_58115 = ref_58108 # MOV operation
ref_58992 = ref_58115 # MOV operation
ref_58998 = (0xF & ref_58992) # AND operation
ref_59439 = ref_58998 # MOV operation
ref_59453 = (0x1 | ref_59439) # OR operation
ref_60347 = ref_59453 # MOV operation
ref_60349 = ((0x40 - ref_60347) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_60357 = ref_60349 # MOV operation
ref_60893 = ref_60357 # MOV operation
ref_60895 = (ref_60893 & 0xFFFFFFFF) # MOV operation
ref_60897 = (0x7A11169 >> ((ref_60895 & 0xFF) & 0x3F)) # SHR operation
ref_60904 = ref_60897 # MOV operation
ref_65310 = ref_25184 # MOV operation
ref_66204 = ref_65310 # MOV operation
ref_66212 = (ref_66204 >> (0x3 & 0x3F)) # SHR operation
ref_66219 = ref_66212 # MOV operation
ref_67096 = ref_66219 # MOV operation
ref_67102 = (0xF & ref_67096) # AND operation
ref_67543 = ref_67102 # MOV operation
ref_67557 = (0x1 | ref_67543) # OR operation
ref_67970 = ref_67557 # MOV operation
ref_67972 = (ref_67970 & 0xFFFFFFFF) # MOV operation
ref_67974 = ((0x7A11169 << ((ref_67972 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_67981 = ref_67974 # MOV operation
ref_68416 = ref_67981 # MOV operation
ref_68428 = ref_60904 # MOV operation
ref_68430 = (ref_68428 | ref_68416) # OR operation
ref_69349 = ref_68430 # MOV operation
ref_69357 = (ref_69349 >> (0x4 & 0x3F)) # SHR operation
ref_69364 = ref_69357 # MOV operation
ref_70241 = ref_69364 # MOV operation
ref_70247 = (0xF & ref_70241) # AND operation
ref_70688 = ref_70247 # MOV operation
ref_70702 = (0x1 | ref_70688) # OR operation
ref_71111 = ref_52398 # MOV operation
ref_71115 = ref_70702 # MOV operation
ref_71117 = (ref_71115 & 0xFFFFFFFF) # MOV operation
ref_71119 = ((ref_71111 << ((ref_71117 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_71126 = ref_71119 # MOV operation
ref_71561 = ref_71126 # MOV operation
ref_71573 = ref_48666 # MOV operation
ref_71575 = (ref_71573 | ref_71561) # OR operation
ref_75217 = ref_71575 # MOV operation
ref_79371 = ref_284 # MOV operation
ref_79801 = ref_79371 # MOV operation
ref_79815 = ((ref_79801 - 0x297EE8A1) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_79823 = ref_79815 # MOV operation
ref_80748 = ref_79823 # MOV operation
ref_80754 = (((sx(0x40, 0x1471C5DA) * sx(0x40, ref_80748)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_84397 = ref_80754 # MOV operation
ref_84399 = ((ref_84397 >> 56) & 0xFF) # Byte reference - MOV operation
ref_84400 = ((ref_84397 >> 48) & 0xFF) # Byte reference - MOV operation
ref_84401 = ((ref_84397 >> 40) & 0xFF) # Byte reference - MOV operation
ref_84402 = ((ref_84397 >> 32) & 0xFF) # Byte reference - MOV operation
ref_84403 = ((ref_84397 >> 24) & 0xFF) # Byte reference - MOV operation
ref_84404 = ((ref_84397 >> 16) & 0xFF) # Byte reference - MOV operation
ref_84405 = ((ref_84397 >> 8) & 0xFF) # Byte reference - MOV operation
ref_84406 = (ref_84397 & 0xFF) # Byte reference - MOV operation
ref_91011 = ((ref_84401) << 8 | ref_84402) # MOVZX operation
ref_91440 = (ref_91011 & 0xFFFF) # MOVZX operation
ref_103309 = ((ref_84403) << 8 | ref_84404) # MOVZX operation
ref_103738 = (ref_103309 & 0xFFFF) # MOVZX operation
ref_110351 = (ref_91440 & 0xFFFF) # MOVZX operation
ref_110780 = (ref_110351 & 0xFFFF) # MOVZX operation
ref_110782 = (((ref_110780 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_110783 = ((ref_110780 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_143313 = ref_75217 # MOV operation
ref_144165 = ref_143313 # MOV operation
ref_144171 = (0x1F & ref_144165) # AND operation
ref_145007 = ref_144171 # MOV operation
ref_145015 = ((ref_145007 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_145022 = ref_145015 # MOV operation
ref_148568 = ref_25184 # MOV operation
ref_148984 = ref_148568 # MOV operation
ref_148996 = ref_145022 # MOV operation
ref_148998 = (ref_148996 | ref_148984) # OR operation
ref_152640 = ref_148998 # MOV operation
ref_156187 = ref_152640 # MOV operation
ref_157039 = ref_156187 # MOV operation
ref_157045 = (0xF & ref_157039) # AND operation
ref_157881 = ref_157045 # MOV operation
ref_157889 = ((ref_157881 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_157896 = ref_157889 # MOV operation
ref_161442 = ref_152640 # MOV operation
ref_161858 = ref_161442 # MOV operation
ref_161870 = ref_157896 # MOV operation
ref_161872 = (ref_161870 | ref_161858) # OR operation
ref_165514 = ref_161872 # MOV operation
ref_172525 = ((ref_84399) << 8 | ref_84400) # MOVZX operation
ref_172954 = (ref_172525 & 0xFFFF) # MOVZX operation
ref_184823 = ((ref_84405) << 8 | ref_84406) # MOVZX operation
ref_185252 = (ref_184823 & 0xFFFF) # MOVZX operation
ref_185254 = (((ref_185252 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_185255 = ((ref_185252 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_191865 = (ref_172954 & 0xFFFF) # MOVZX operation
ref_192294 = (ref_191865 & 0xFFFF) # MOVZX operation
ref_198907 = (ref_192294 & 0xFFFF) # MOVZX operation
ref_199336 = (ref_198907 & 0xFFFF) # MOVZX operation
ref_211205 = (ref_103738 & 0xFFFF) # MOVZX operation
ref_211634 = (ref_211205 & 0xFFFF) # MOVZX operation
ref_211636 = (((ref_211634 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_211637 = ((ref_211634 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_218247 = (ref_199336 & 0xFFFF) # MOVZX operation
ref_218676 = (ref_218247 & 0xFFFF) # MOVZX operation
ref_218678 = (((ref_218676 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_218679 = ((ref_218676 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_222222 = ref_16982 # MOV operation
ref_226176 = ref_165514 # MOV operation
ref_227028 = ref_226176 # MOV operation
ref_227034 = (0xF & ref_227028) # AND operation
ref_227475 = ref_227034 # MOV operation
ref_227489 = (0x1 | ref_227475) # OR operation
ref_228383 = ref_227489 # MOV operation
ref_228385 = ((0x40 - ref_228383) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_228393 = ref_228385 # MOV operation
ref_228925 = ref_222222 # MOV operation
ref_228929 = ref_228393 # MOV operation
ref_228931 = (ref_228929 & 0xFFFFFFFF) # MOV operation
ref_228933 = (ref_228925 >> ((ref_228931 & 0xFF) & 0x3F)) # SHR operation
ref_228940 = ref_228933 # MOV operation
ref_232492 = ref_16982 # MOV operation
ref_236446 = ref_165514 # MOV operation
ref_237298 = ref_236446 # MOV operation
ref_237304 = (0xF & ref_237298) # AND operation
ref_237745 = ref_237304 # MOV operation
ref_237759 = (0x1 | ref_237745) # OR operation
ref_238168 = ref_232492 # MOV operation
ref_238172 = ref_237759 # MOV operation
ref_238174 = (ref_238172 & 0xFFFFFFFF) # MOV operation
ref_238176 = ((ref_238168 << ((ref_238174 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_238183 = ref_238176 # MOV operation
ref_238618 = ref_238183 # MOV operation
ref_238630 = ref_228940 # MOV operation
ref_238632 = (ref_238630 | ref_238618) # OR operation
ref_242611 = ref_75217 # MOV operation
ref_246565 = ((((((((ref_185254) << 8 | ref_185255) << 8 | ref_218678) << 8 | ref_218679) << 8 | ref_110782) << 8 | ref_110783) << 8 | ref_211636) << 8 | ref_211637) # MOV operation
ref_247459 = ref_246565 # MOV operation
ref_247467 = (ref_247459 >> (0x2 & 0x3F)) # SHR operation
ref_247474 = ref_247467 # MOV operation
ref_248351 = ref_247474 # MOV operation
ref_248357 = (0xF & ref_248351) # AND operation
ref_248798 = ref_248357 # MOV operation
ref_248812 = (0x1 | ref_248798) # OR operation
ref_249706 = ref_248812 # MOV operation
ref_249708 = ((0x40 - ref_249706) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_249716 = ref_249708 # MOV operation
ref_250248 = ref_242611 # MOV operation
ref_250252 = ref_249716 # MOV operation
ref_250254 = (ref_250252 & 0xFFFFFFFF) # MOV operation
ref_250256 = (ref_250248 >> ((ref_250254 & 0xFF) & 0x3F)) # SHR operation
ref_250263 = ref_250256 # MOV operation
ref_253815 = ref_75217 # MOV operation
ref_257769 = ((((((((ref_185254) << 8 | ref_185255) << 8 | ref_218678) << 8 | ref_218679) << 8 | ref_110782) << 8 | ref_110783) << 8 | ref_211636) << 8 | ref_211637) # MOV operation
ref_258663 = ref_257769 # MOV operation
ref_258671 = (ref_258663 >> (0x2 & 0x3F)) # SHR operation
ref_258678 = ref_258671 # MOV operation
ref_259555 = ref_258678 # MOV operation
ref_259561 = (0xF & ref_259555) # AND operation
ref_260002 = ref_259561 # MOV operation
ref_260016 = (0x1 | ref_260002) # OR operation
ref_260425 = ref_253815 # MOV operation
ref_260429 = ref_260016 # MOV operation
ref_260431 = (ref_260429 & 0xFFFFFFFF) # MOV operation
ref_260433 = ((ref_260425 << ((ref_260431 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_260440 = ref_260433 # MOV operation
ref_260875 = ref_260440 # MOV operation
ref_260887 = ref_250263 # MOV operation
ref_260889 = (ref_260887 | ref_260875) # OR operation
ref_261808 = ref_260889 # MOV operation
ref_261816 = (ref_261808 >> (0x4 & 0x3F)) # SHR operation
ref_261823 = ref_261816 # MOV operation
ref_262700 = ref_261823 # MOV operation
ref_262706 = (0xF & ref_262700) # AND operation
ref_263147 = ref_262706 # MOV operation
ref_263161 = (0x1 | ref_263147) # OR operation
ref_264055 = ref_263161 # MOV operation
ref_264057 = ((0x40 - ref_264055) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_264065 = ref_264057 # MOV operation
ref_264514 = ref_238632 # MOV operation
ref_264518 = ref_264065 # MOV operation
ref_264520 = (ref_264518 & 0xFFFFFFFF) # MOV operation
ref_264522 = ((ref_264514 << ((ref_264520 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_264529 = ref_264522 # MOV operation
ref_268075 = ref_16982 # MOV operation
ref_272029 = ref_165514 # MOV operation
ref_272881 = ref_272029 # MOV operation
ref_272887 = (0xF & ref_272881) # AND operation
ref_273328 = ref_272887 # MOV operation
ref_273342 = (0x1 | ref_273328) # OR operation
ref_274236 = ref_273342 # MOV operation
ref_274238 = ((0x40 - ref_274236) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_274246 = ref_274238 # MOV operation
ref_274778 = ref_268075 # MOV operation
ref_274782 = ref_274246 # MOV operation
ref_274784 = (ref_274782 & 0xFFFFFFFF) # MOV operation
ref_274786 = (ref_274778 >> ((ref_274784 & 0xFF) & 0x3F)) # SHR operation
ref_274793 = ref_274786 # MOV operation
ref_278345 = ref_16982 # MOV operation
ref_282299 = ref_165514 # MOV operation
ref_283151 = ref_282299 # MOV operation
ref_283157 = (0xF & ref_283151) # AND operation
ref_283598 = ref_283157 # MOV operation
ref_283612 = (0x1 | ref_283598) # OR operation
ref_284021 = ref_278345 # MOV operation
ref_284025 = ref_283612 # MOV operation
ref_284027 = (ref_284025 & 0xFFFFFFFF) # MOV operation
ref_284029 = ((ref_284021 << ((ref_284027 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_284036 = ref_284029 # MOV operation
ref_284471 = ref_284036 # MOV operation
ref_284483 = ref_274793 # MOV operation
ref_284485 = (ref_284483 | ref_284471) # OR operation
ref_288464 = ref_75217 # MOV operation
ref_292418 = ((((((((ref_185254) << 8 | ref_185255) << 8 | ref_218678) << 8 | ref_218679) << 8 | ref_110782) << 8 | ref_110783) << 8 | ref_211636) << 8 | ref_211637) # MOV operation
ref_293312 = ref_292418 # MOV operation
ref_293320 = (ref_293312 >> (0x2 & 0x3F)) # SHR operation
ref_293327 = ref_293320 # MOV operation
ref_294204 = ref_293327 # MOV operation
ref_294210 = (0xF & ref_294204) # AND operation
ref_294651 = ref_294210 # MOV operation
ref_294665 = (0x1 | ref_294651) # OR operation
ref_295559 = ref_294665 # MOV operation
ref_295561 = ((0x40 - ref_295559) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_295569 = ref_295561 # MOV operation
ref_296101 = ref_288464 # MOV operation
ref_296105 = ref_295569 # MOV operation
ref_296107 = (ref_296105 & 0xFFFFFFFF) # MOV operation
ref_296109 = (ref_296101 >> ((ref_296107 & 0xFF) & 0x3F)) # SHR operation
ref_296116 = ref_296109 # MOV operation
ref_299668 = ref_75217 # MOV operation
ref_303622 = ((((((((ref_185254) << 8 | ref_185255) << 8 | ref_218678) << 8 | ref_218679) << 8 | ref_110782) << 8 | ref_110783) << 8 | ref_211636) << 8 | ref_211637) # MOV operation
ref_304516 = ref_303622 # MOV operation
ref_304524 = (ref_304516 >> (0x2 & 0x3F)) # SHR operation
ref_304531 = ref_304524 # MOV operation
ref_305408 = ref_304531 # MOV operation
ref_305414 = (0xF & ref_305408) # AND operation
ref_305855 = ref_305414 # MOV operation
ref_305869 = (0x1 | ref_305855) # OR operation
ref_306278 = ref_299668 # MOV operation
ref_306282 = ref_305869 # MOV operation
ref_306284 = (ref_306282 & 0xFFFFFFFF) # MOV operation
ref_306286 = ((ref_306278 << ((ref_306284 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_306293 = ref_306286 # MOV operation
ref_306728 = ref_306293 # MOV operation
ref_306740 = ref_296116 # MOV operation
ref_306742 = (ref_306740 | ref_306728) # OR operation
ref_307661 = ref_306742 # MOV operation
ref_307669 = (ref_307661 >> (0x4 & 0x3F)) # SHR operation
ref_307676 = ref_307669 # MOV operation
ref_308553 = ref_307676 # MOV operation
ref_308559 = (0xF & ref_308553) # AND operation
ref_309000 = ref_308559 # MOV operation
ref_309014 = (0x1 | ref_309000) # OR operation
ref_309506 = ref_284485 # MOV operation
ref_309510 = ref_309014 # MOV operation
ref_309512 = (ref_309510 & 0xFFFFFFFF) # MOV operation
ref_309514 = (ref_309506 >> ((ref_309512 & 0xFF) & 0x3F)) # SHR operation
ref_309521 = ref_309514 # MOV operation
ref_309962 = ref_309521 # MOV operation
ref_309974 = ref_264529 # MOV operation
ref_309976 = (ref_309974 | ref_309962) # OR operation
ref_313826 = ref_309976 # MOV operation
ref_314668 = ref_313826 # MOV operation
ref_314670 = ref_314668 # MOV operation

print ref_314670 & 0xffffffffffffffff
