#!/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_141550 = ref_278 # MOV operation
ref_141626 = ref_141550 # MOV operation
ref_141640 = (ref_141626 >> (0x5 & 0x3F)) # SHR operation
ref_141865 = ref_141640 # MOV operation
ref_141871 = (0x1376783EF7559EA & ref_141865) # AND operation
ref_142802 = ref_141871 # MOV operation
ref_142804 = ((ref_142802 >> 56) & 0xFF) # Byte reference - MOV operation
ref_142805 = ((ref_142802 >> 48) & 0xFF) # Byte reference - MOV operation
ref_142806 = ((ref_142802 >> 40) & 0xFF) # Byte reference - MOV operation
ref_142807 = ((ref_142802 >> 32) & 0xFF) # Byte reference - MOV operation
ref_142808 = ((ref_142802 >> 24) & 0xFF) # Byte reference - MOV operation
ref_142809 = ((ref_142802 >> 16) & 0xFF) # Byte reference - MOV operation
ref_142810 = ((ref_142802 >> 8) & 0xFF) # Byte reference - MOV operation
ref_142811 = (ref_142802 & 0xFF) # Byte reference - MOV operation
ref_143720 = ref_142802 # MOV operation
ref_143920 = ref_143720 # MOV operation
ref_143926 = (0x7063FB7 & ref_143920) # AND operation
ref_144880 = ref_278 # MOV operation
ref_144956 = ref_144880 # MOV operation
ref_144970 = (0x1A5612E2 | ref_144956) # OR operation
ref_145071 = ref_144970 # MOV operation
ref_145083 = ref_143926 # MOV operation
ref_145085 = ((ref_145083 + ref_145071) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_146017 = ref_145085 # MOV operation
ref_146019 = ((ref_146017 >> 56) & 0xFF) # Byte reference - MOV operation
ref_146020 = ((ref_146017 >> 48) & 0xFF) # Byte reference - MOV operation
ref_146021 = ((ref_146017 >> 40) & 0xFF) # Byte reference - MOV operation
ref_146022 = ((ref_146017 >> 32) & 0xFF) # Byte reference - MOV operation
ref_146023 = ((ref_146017 >> 24) & 0xFF) # Byte reference - MOV operation
ref_146024 = ((ref_146017 >> 16) & 0xFF) # Byte reference - MOV operation
ref_146025 = ((ref_146017 >> 8) & 0xFF) # Byte reference - MOV operation
ref_146026 = (ref_146017 & 0xFF) # Byte reference - MOV operation
ref_146850 = ref_278 # MOV operation
ref_147050 = ref_146850 # MOV operation
ref_147056 = ((ref_147050 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_147064 = ref_147056 # MOV operation
ref_148562 = ref_146017 # MOV operation
ref_148638 = ref_148562 # MOV operation
ref_148652 = (ref_148638 >> (0x3 & 0x3F)) # SHR operation
ref_148877 = ref_148652 # MOV operation
ref_148883 = (0xF & ref_148877) # AND operation
ref_148984 = ref_148883 # MOV operation
ref_148998 = (0x1 | ref_148984) # OR operation
ref_149111 = ref_148998 # MOV operation
ref_149113 = ((0x40 - ref_149111) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_149121 = ref_149113 # MOV operation
ref_149345 = ref_149121 # MOV operation
ref_149347 = (0x3162E74F >> ((ref_149345 & 0xFF) & 0x3F)) # SHR operation
ref_150618 = ref_146017 # MOV operation
ref_150694 = ref_150618 # MOV operation
ref_150708 = (ref_150694 >> (0x3 & 0x3F)) # SHR operation
ref_150933 = ref_150708 # MOV operation
ref_150939 = (0xF & ref_150933) # AND operation
ref_151040 = ref_150939 # MOV operation
ref_151054 = (0x1 | ref_151040) # OR operation
ref_151167 = ref_151054 # MOV operation
ref_151169 = (ref_151167 & 0xFFFFFFFF) # MOV operation
ref_151171 = ((0x3162E74F << ((ref_151169 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_151178 = ref_151171 # MOV operation
ref_151274 = ref_151178 # MOV operation
ref_151286 = ref_149347 # MOV operation
ref_151288 = (ref_151286 | ref_151274) # OR operation
ref_151389 = ref_151288 # MOV operation
ref_151403 = (ref_151389 >> (0x4 & 0x3F)) # SHR operation
ref_151628 = ref_151403 # MOV operation
ref_151634 = (0x7 & ref_151628) # AND operation
ref_151735 = ref_151634 # MOV operation
ref_151749 = (0x1 | ref_151735) # OR operation
ref_151858 = ref_147064 # MOV operation
ref_151862 = ref_151749 # MOV operation
ref_151864 = (ref_151862 & 0xFFFFFFFF) # MOV operation
ref_151866 = ((ref_151858 << ((ref_151864 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_151873 = ref_151866 # MOV operation
ref_152799 = ref_151873 # MOV operation
ref_153632 = ref_278 # MOV operation
ref_153832 = ref_153632 # MOV operation
ref_153838 = ((ref_153832 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_153846 = ref_153838 # MOV operation
ref_154772 = ref_153846 # MOV operation
ref_156995 = ref_146017 # MOV operation
ref_157195 = ref_156995 # MOV operation
ref_157201 = (0xF & ref_157195) # AND operation
ref_157426 = ref_157201 # MOV operation
ref_157434 = ((ref_157426 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_157441 = ref_157434 # MOV operation
ref_158359 = ref_154772 # MOV operation
ref_158435 = ref_158359 # MOV operation
ref_158447 = ref_157441 # MOV operation
ref_158449 = (ref_158447 | ref_158435) # OR operation
ref_159380 = ref_158449 # MOV operation
ref_160298 = ref_159380 # MOV operation
ref_160498 = ref_160298 # MOV operation
ref_160504 = (0x1F & ref_160498) # AND operation
ref_160729 = ref_160504 # MOV operation
ref_160737 = ((ref_160729 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_160744 = ref_160737 # MOV operation
ref_161662 = ref_152799 # MOV operation
ref_161738 = ref_161662 # MOV operation
ref_161750 = ref_160744 # MOV operation
ref_161752 = (ref_161750 | ref_161738) # OR operation
ref_162683 = ref_161752 # MOV operation
ref_163921 = ref_146017 # MOV operation
ref_164121 = ref_163921 # MOV operation
ref_164127 = (0xF & ref_164121) # AND operation
ref_164352 = ref_164127 # MOV operation
ref_164360 = ((ref_164352 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_164367 = ref_164360 # MOV operation
ref_165285 = ref_159380 # MOV operation
ref_165361 = ref_165285 # MOV operation
ref_165373 = ref_164367 # MOV operation
ref_165375 = (ref_165373 | ref_165361) # OR operation
ref_166306 = ref_165375 # MOV operation
ref_168849 = ref_166306 # MOV operation
ref_169049 = ref_168849 # MOV operation
ref_169055 = (0xF & ref_169049) # AND operation
ref_169280 = ref_169055 # MOV operation
ref_169288 = ((ref_169280 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_169295 = ref_169288 # MOV operation
ref_170213 = ref_166306 # MOV operation
ref_170289 = ref_170213 # MOV operation
ref_170301 = ref_169295 # MOV operation
ref_170303 = (ref_170301 | ref_170289) # OR operation
ref_171234 = ref_170303 # MOV operation
ref_172152 = ref_171234 # MOV operation
ref_172352 = ref_172152 # MOV operation
ref_172358 = (0x1F & ref_172352) # AND operation
ref_172583 = ref_172358 # MOV operation
ref_172591 = ((ref_172583 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_172598 = ref_172591 # MOV operation
ref_173516 = ref_162683 # MOV operation
ref_173592 = ref_173516 # MOV operation
ref_173604 = ref_172598 # MOV operation
ref_173606 = (ref_173604 | ref_173592) # OR operation
ref_174537 = ref_173606 # MOV operation
ref_174539 = ((ref_174537 >> 56) & 0xFF) # Byte reference - MOV operation
ref_174540 = ((ref_174537 >> 48) & 0xFF) # Byte reference - MOV operation
ref_174541 = ((ref_174537 >> 40) & 0xFF) # Byte reference - MOV operation
ref_174542 = ((ref_174537 >> 32) & 0xFF) # Byte reference - MOV operation
ref_174543 = ((ref_174537 >> 24) & 0xFF) # Byte reference - MOV operation
ref_174544 = ((ref_174537 >> 16) & 0xFF) # Byte reference - MOV operation
ref_174545 = ((ref_174537 >> 8) & 0xFF) # Byte reference - MOV operation
ref_174546 = (ref_174537 & 0xFF) # Byte reference - MOV operation
ref_175775 = ref_171234 # MOV operation
ref_175975 = ref_175775 # MOV operation
ref_175981 = (0xF & ref_175975) # AND operation
ref_176206 = ref_175981 # MOV operation
ref_176214 = ((ref_176206 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_176221 = ref_176214 # MOV operation
ref_177139 = ref_171234 # MOV operation
ref_177215 = ref_177139 # MOV operation
ref_177227 = ref_176221 # MOV operation
ref_177229 = (ref_177227 | ref_177215) # OR operation
ref_178160 = ref_177229 # MOV operation
ref_185292 = ref_174537 # MOV operation
ref_186190 = ref_174537 # MOV operation
ref_186266 = ref_186190 # MOV operation
ref_186278 = ref_185292 # MOV operation
ref_186280 = ((ref_186278 + ref_186266) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_186506 = ref_186280 # MOV operation
ref_186512 = (0x7 & ref_186506) # AND operation
ref_186737 = ref_186512 # MOV operation
ref_186745 = ((ref_186737 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_186752 = ref_186745 # MOV operation
ref_187670 = ref_178160 # MOV operation
ref_187746 = ref_187670 # MOV operation
ref_187758 = ref_186752 # MOV operation
ref_187760 = (ref_187758 | ref_187746) # OR operation
ref_188691 = ref_187760 # MOV operation
ref_190215 = ((((ref_174539) << 8 | ref_174540) << 8 | ref_174541) << 8 | ref_174542) # MOV operation
ref_190423 = (ref_190215 & 0xFFFFFFFF) # MOV operation
ref_191943 = ((((ref_174543) << 8 | ref_174544) << 8 | ref_174545) << 8 | ref_174546) # MOV operation
ref_193451 = (ref_191943 & 0xFFFFFFFF) # MOV operation
ref_193453 = (((ref_193451 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_193454 = (((ref_193451 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_193455 = (((ref_193451 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_193456 = ((ref_193451 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_193671 = (ref_190423 & 0xFFFFFFFF) # MOV operation
ref_195179 = (ref_193671 & 0xFFFFFFFF) # MOV operation
ref_195181 = (((ref_195179 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_195182 = (((ref_195179 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_195183 = (((ref_195179 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_195184 = ((ref_195179 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_196827 = ref_142806 # MOVZX operation
ref_196903 = (ref_196827 & 0xFF) # MOVZX operation
ref_199847 = ref_142807 # MOVZX operation
ref_199923 = (ref_199847 & 0xFF) # MOVZX operation
ref_199925 = (ref_199923 & 0xFF) # Byte reference - MOV operation
ref_201567 = (ref_196903 & 0xFF) # MOVZX operation
ref_201643 = (ref_201567 & 0xFF) # MOVZX operation
ref_201645 = (ref_201643 & 0xFF) # Byte reference - MOV operation
ref_203287 = ref_142805 # MOVZX operation
ref_203363 = (ref_203287 & 0xFF) # MOVZX operation
ref_206307 = ref_142811 # MOVZX operation
ref_206383 = (ref_206307 & 0xFF) # MOVZX operation
ref_206385 = (ref_206383 & 0xFF) # Byte reference - MOV operation
ref_208027 = (ref_203363 & 0xFF) # MOVZX operation
ref_208103 = (ref_208027 & 0xFF) # MOVZX operation
ref_208105 = (ref_208103 & 0xFF) # Byte reference - MOV operation
ref_209619 = ((((ref_146023) << 8 | ref_146024) << 8 | ref_146025) << 8 | ref_146026) # MOV operation
ref_209827 = (ref_209619 & 0xFFFFFFFF) # MOV operation
ref_211347 = ((((ref_146019) << 8 | ref_146020) << 8 | ref_146021) << 8 | ref_146022) # MOV operation
ref_212855 = (ref_211347 & 0xFFFFFFFF) # MOV operation
ref_212857 = (((ref_212855 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_212858 = (((ref_212855 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_212859 = (((ref_212855 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_212860 = ((ref_212855 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_213075 = (ref_209827 & 0xFFFFFFFF) # MOV operation
ref_214583 = (ref_213075 & 0xFFFFFFFF) # MOV operation
ref_214585 = (((ref_214583 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_214586 = (((ref_214583 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_214587 = (((ref_214583 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_214588 = ((ref_214583 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_216886 = ((((((((ref_142804) << 8 | ref_206385) << 8 | ref_199925) << 8 | ref_201645) << 8 | ref_142808) << 8 | ref_142809) << 8 | ref_142810) << 8 | ref_208105) # MOV operation
ref_217086 = ref_216886 # MOV operation
ref_217092 = (0x3F & ref_217086) # AND operation
ref_217317 = ref_217092 # MOV operation
ref_217325 = ((ref_217317 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_217332 = ref_217325 # MOV operation
ref_218338 = ((((((((ref_214585) << 8 | ref_214586) << 8 | ref_214587) << 8 | ref_214588) << 8 | ref_212857) << 8 | ref_212858) << 8 | ref_212859) << 8 | ref_212860) # MOV operation
ref_218414 = ref_218338 # MOV operation
ref_218426 = ref_217332 # MOV operation
ref_218428 = (ref_218426 | ref_218414) # OR operation
ref_219447 = ref_218428 # MOV operation
ref_221831 = ref_188691 # MOV operation
ref_223077 = ref_219447 # MOV operation
ref_223153 = ref_223077 # MOV operation
ref_223167 = (ref_223153 >> (0x3 & 0x3F)) # SHR operation
ref_223392 = ref_223167 # MOV operation
ref_223398 = (0xF & ref_223392) # AND operation
ref_223499 = ref_223398 # MOV operation
ref_223513 = (0x1 | ref_223499) # OR operation
ref_223626 = ref_223513 # MOV operation
ref_223628 = ((0x40 - ref_223626) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_223636 = ref_223628 # MOV operation
ref_223740 = ref_221831 # MOV operation
ref_223744 = ref_223636 # MOV operation
ref_223746 = (ref_223744 & 0xFFFFFFFF) # MOV operation
ref_223748 = ((ref_223740 << ((ref_223746 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_223755 = ref_223748 # MOV operation
ref_224905 = ref_219447 # MOV operation
ref_224981 = ref_224905 # MOV operation
ref_224995 = (ref_224981 >> (0x3 & 0x3F)) # SHR operation
ref_225220 = ref_224995 # MOV operation
ref_225226 = (0xF & ref_225220) # AND operation
ref_225327 = ref_225226 # MOV operation
ref_225341 = (0x1 | ref_225327) # OR operation
ref_226264 = ref_188691 # MOV operation
ref_226340 = ref_226264 # MOV operation
ref_226352 = ref_225341 # MOV operation
ref_226354 = (ref_226340 >> ((ref_226352 & 0xFF) & 0x3F)) # SHR operation
ref_226455 = ref_226354 # MOV operation
ref_226467 = ref_223755 # MOV operation
ref_226469 = (ref_226467 | ref_226455) # OR operation
ref_226694 = ref_226469 # MOV operation
ref_226700 = (0xF & ref_226694) # AND operation
ref_226925 = ref_226700 # MOV operation
ref_226933 = ((ref_226925 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_226940 = ref_226933 # MOV operation
ref_227858 = ((((((((ref_193453) << 8 | ref_193454) << 8 | ref_193455) << 8 | ref_193456) << 8 | ref_195181) << 8 | ref_195182) << 8 | ref_195183) << 8 | ref_195184) # MOV operation
ref_227934 = ref_227858 # MOV operation
ref_227946 = ref_226940 # MOV operation
ref_227948 = (ref_227946 | ref_227934) # OR operation
ref_228879 = ref_227948 # MOV operation
ref_229797 = ref_188691 # MOV operation
ref_230695 = ref_228879 # MOV operation
ref_230771 = ref_230695 # MOV operation
ref_230783 = ref_229797 # MOV operation
ref_230785 = (ref_230783 | ref_230771) # OR operation
ref_231708 = ((((((((ref_142804) << 8 | ref_206385) << 8 | ref_199925) << 8 | ref_201645) << 8 | ref_142808) << 8 | ref_142809) << 8 | ref_142810) << 8 | ref_208105) # MOV operation
ref_232838 = ref_219447 # MOV operation
ref_232914 = ref_232838 # MOV operation
ref_232928 = (ref_232914 >> (0x3 & 0x3F)) # SHR operation
ref_233153 = ref_232928 # MOV operation
ref_233159 = (0x7 & ref_233153) # AND operation
ref_233260 = ref_233159 # MOV operation
ref_233274 = (0x1 | ref_233260) # OR operation
ref_233383 = ref_231708 # MOV operation
ref_233387 = ref_233274 # MOV operation
ref_233389 = (ref_233387 & 0xFFFFFFFF) # MOV operation
ref_233391 = ((ref_233383 << ((ref_233389 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_233398 = ref_233391 # MOV operation
ref_233494 = ref_233398 # MOV operation
ref_233506 = ref_230785 # MOV operation
ref_233508 = (ref_233506 | ref_233494) # OR operation
ref_234363 = ref_233508 # MOV operation
ref_234574 = ref_234363 # MOV operation
ref_234576 = ref_234574 # MOV operation

print ref_234576 & 0xffffffffffffffff
