#!/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_11627 = ref_278 # MOV operation
ref_11989 = ref_11627 # MOV operation
ref_12007 = (ref_11989 >> (0x5 & 0x3F)) # SHR operation
ref_12014 = ref_12007 # MOV operation
ref_12362 = ref_12014 # MOV operation
ref_12378 = (0x1376783EF7559EA & ref_12362) # AND operation
ref_12799 = ref_12378 # MOV operation
ref_12801 = ((ref_12799 >> 56) & 0xFF) # Byte reference - MOV operation
ref_12802 = ((ref_12799 >> 48) & 0xFF) # Byte reference - MOV operation
ref_12803 = ((ref_12799 >> 40) & 0xFF) # Byte reference - MOV operation
ref_12804 = ((ref_12799 >> 32) & 0xFF) # Byte reference - MOV operation
ref_12805 = ((ref_12799 >> 24) & 0xFF) # Byte reference - MOV operation
ref_12806 = ((ref_12799 >> 16) & 0xFF) # Byte reference - MOV operation
ref_12807 = ((ref_12799 >> 8) & 0xFF) # Byte reference - MOV operation
ref_12808 = (ref_12799 & 0xFF) # Byte reference - MOV operation
ref_19370 = ref_12799 # MOV operation
ref_19769 = ref_19370 # MOV operation
ref_19785 = (0x7063FB7 & ref_19769) # AND operation
ref_22988 = ref_278 # MOV operation
ref_23807 = ref_22988 # MOV operation
ref_23815 = (0x1A5612E2 | ref_23807) # OR operation
ref_24209 = ref_23815 # MOV operation
ref_24223 = ref_19785 # MOV operation
ref_24225 = ((ref_24223 + ref_24209) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_24633 = ref_24225 # MOV operation
ref_24635 = ((ref_24633 >> 56) & 0xFF) # Byte reference - MOV operation
ref_24636 = ((ref_24633 >> 48) & 0xFF) # Byte reference - MOV operation
ref_24637 = ((ref_24633 >> 40) & 0xFF) # Byte reference - MOV operation
ref_24638 = ((ref_24633 >> 32) & 0xFF) # Byte reference - MOV operation
ref_24639 = ((ref_24633 >> 24) & 0xFF) # Byte reference - MOV operation
ref_24640 = ((ref_24633 >> 16) & 0xFF) # Byte reference - MOV operation
ref_24641 = ((ref_24633 >> 8) & 0xFF) # Byte reference - MOV operation
ref_24642 = (ref_24633 & 0xFF) # Byte reference - MOV operation
ref_32522 = ref_24633 # MOV operation
ref_32921 = ref_32522 # MOV operation
ref_32939 = (ref_32921 >> (0x3 & 0x3F)) # SHR operation
ref_32946 = ref_32939 # MOV operation
ref_33326 = ref_32946 # MOV operation
ref_33342 = (0xF & ref_33326) # AND operation
ref_34129 = ref_33342 # MOV operation
ref_34137 = (0x1 | ref_34129) # OR operation
ref_34983 = ref_34137 # MOV operation
ref_34985 = (ref_34983 & 0xFFFFFFFF) # MOV operation
ref_34987 = ((0x3162E74F << ((ref_34985 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_34994 = ref_34987 # MOV operation
ref_39067 = ref_24633 # MOV operation
ref_39444 = ref_39067 # MOV operation
ref_39462 = (ref_39444 >> (0x3 & 0x3F)) # SHR operation
ref_39469 = ref_39462 # MOV operation
ref_39887 = ref_39469 # MOV operation
ref_39903 = (0xF & ref_39887) # AND operation
ref_40720 = ref_39903 # MOV operation
ref_40728 = (0x1 | ref_40720) # OR operation
ref_41541 = ref_40728 # MOV operation
ref_41543 = ((0x40 - ref_41541) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_41551 = ref_41543 # MOV operation
ref_42365 = ref_41551 # MOV operation
ref_42367 = (ref_42365 & 0xFFFFFFFF) # MOV operation
ref_42369 = (0x3162E74F >> ((ref_42367 & 0xFF) & 0x3F)) # SHR operation
ref_42376 = ref_42369 # MOV operation
ref_42837 = ref_34994 # MOV operation
ref_42843 = ref_42376 # MOV operation
ref_42845 = (ref_42843 | ref_42837) # OR operation
ref_43220 = ref_42845 # MOV operation
ref_43238 = (ref_43220 >> (0x4 & 0x3F)) # SHR operation
ref_43245 = ref_43238 # MOV operation
ref_43660 = ref_43245 # MOV operation
ref_43676 = (0x7 & ref_43660) # AND operation
ref_44486 = ref_43676 # MOV operation
ref_44494 = (0x1 | ref_44486) # OR operation
ref_48113 = ref_278 # MOV operation
ref_48469 = ref_48113 # MOV operation
ref_48485 = ((ref_48469 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_48493 = ref_48485 # MOV operation
ref_48908 = ref_48493 # MOV operation
ref_48922 = ref_44494 # MOV operation
ref_48924 = (ref_48922 & 0xFFFFFFFF) # MOV operation
ref_48926 = ((ref_48908 << ((ref_48924 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_48933 = ref_48926 # MOV operation
ref_49358 = ref_48933 # MOV operation
ref_55952 = ref_278 # MOV operation
ref_56316 = ref_55952 # MOV operation
ref_56332 = ((ref_56316 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_56340 = ref_56332 # MOV operation
ref_56727 = ref_56340 # MOV operation
ref_66610 = ref_56727 # MOV operation
ref_71919 = ref_24633 # MOV operation
ref_72313 = ref_71919 # MOV operation
ref_72329 = (0xF & ref_72313) # AND operation
ref_72730 = ref_72329 # MOV operation
ref_72748 = ((ref_72730 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_72755 = ref_72748 # MOV operation
ref_73175 = ref_66610 # MOV operation
ref_73181 = ref_72755 # MOV operation
ref_73183 = (ref_73181 | ref_73175) # OR operation
ref_73559 = ref_73183 # MOV operation
ref_79762 = ref_49358 # MOV operation
ref_83896 = ref_73559 # MOV operation
ref_84258 = ref_83896 # MOV operation
ref_84274 = (0x1F & ref_84258) # AND operation
ref_84655 = ref_84274 # MOV operation
ref_84673 = ((ref_84655 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_84680 = ref_84673 # MOV operation
ref_85070 = ref_79762 # MOV operation
ref_85076 = ref_84680 # MOV operation
ref_85078 = (ref_85076 | ref_85070) # OR operation
ref_85544 = ref_85078 # MOV operation
ref_91732 = ref_73559 # MOV operation
ref_97147 = ref_24633 # MOV operation
ref_97494 = ref_97147 # MOV operation
ref_97510 = (0xF & ref_97494) # AND operation
ref_97915 = ref_97510 # MOV operation
ref_97933 = ((ref_97915 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_97940 = ref_97933 # MOV operation
ref_98338 = ref_91732 # MOV operation
ref_98344 = ref_97940 # MOV operation
ref_98346 = (ref_98344 | ref_98338) # OR operation
ref_98745 = ref_98346 # MOV operation
ref_109791 = ref_98745 # MOV operation
ref_115054 = ref_98745 # MOV operation
ref_115422 = ref_115054 # MOV operation
ref_115438 = (0xF & ref_115422) # AND operation
ref_115865 = ref_115438 # MOV operation
ref_115883 = ((ref_115865 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_115890 = ref_115883 # MOV operation
ref_116262 = ref_109791 # MOV operation
ref_116268 = ref_115890 # MOV operation
ref_116270 = (ref_116268 | ref_116262) # OR operation
ref_116702 = ref_116270 # MOV operation
ref_122893 = ref_85544 # MOV operation
ref_126918 = ref_116702 # MOV operation
ref_127308 = ref_126918 # MOV operation
ref_127324 = (0x1F & ref_127308) # AND operation
ref_127719 = ref_127324 # MOV operation
ref_127737 = ((ref_127719 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_127744 = ref_127737 # MOV operation
ref_128199 = ref_122893 # MOV operation
ref_128205 = ref_127744 # MOV operation
ref_128207 = (ref_128205 | ref_128199) # OR operation
ref_128568 = ref_128207 # MOV operation
ref_128570 = ((ref_128568 >> 56) & 0xFF) # Byte reference - MOV operation
ref_128571 = ((ref_128568 >> 48) & 0xFF) # Byte reference - MOV operation
ref_128572 = ((ref_128568 >> 40) & 0xFF) # Byte reference - MOV operation
ref_128573 = ((ref_128568 >> 32) & 0xFF) # Byte reference - MOV operation
ref_128574 = ((ref_128568 >> 24) & 0xFF) # Byte reference - MOV operation
ref_128575 = ((ref_128568 >> 16) & 0xFF) # Byte reference - MOV operation
ref_128576 = ((ref_128568 >> 8) & 0xFF) # Byte reference - MOV operation
ref_128577 = (ref_128568 & 0xFF) # Byte reference - MOV operation
ref_134738 = ref_116702 # MOV operation
ref_140033 = ref_116702 # MOV operation
ref_140385 = ref_140033 # MOV operation
ref_140401 = (0xF & ref_140385) # AND operation
ref_140818 = ref_140401 # MOV operation
ref_140836 = ((ref_140818 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_140843 = ref_140836 # MOV operation
ref_141275 = ref_134738 # MOV operation
ref_141281 = ref_140843 # MOV operation
ref_141283 = (ref_141281 | ref_141275) # OR operation
ref_141646 = ref_141283 # MOV operation
ref_170631 = ref_141646 # MOV operation
ref_174593 = ref_128568 # MOV operation
ref_177762 = ref_128568 # MOV operation
ref_178160 = ref_177762 # MOV operation
ref_178174 = ref_174593 # MOV operation
ref_178176 = ((ref_178174 + ref_178160) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_178586 = ref_178176 # MOV operation
ref_178602 = (0x7 & ref_178586) # AND operation
ref_178971 = ref_178602 # MOV operation
ref_178989 = ((ref_178971 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_178996 = ref_178989 # MOV operation
ref_179390 = ref_170631 # MOV operation
ref_179396 = ref_178996 # MOV operation
ref_179398 = (ref_179396 | ref_179390) # OR operation
ref_179783 = ref_179398 # MOV operation
ref_185483 = ((((ref_128570) << 8 | ref_128571) << 8 | ref_128572) << 8 | ref_128573) # MOV operation
ref_186270 = (ref_185483 & 0xFFFFFFFF) # MOV operation
ref_191979 = ((((ref_128574) << 8 | ref_128575) << 8 | ref_128576) << 8 | ref_128577) # MOV operation
ref_197681 = (ref_191979 & 0xFFFFFFFF) # MOV operation
ref_197683 = (((ref_197681 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_197684 = (((ref_197681 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_197685 = (((ref_197681 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_197686 = ((ref_197681 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_198505 = (ref_186270 & 0xFFFFFFFF) # MOV operation
ref_204192 = (ref_198505 & 0xFFFFFFFF) # MOV operation
ref_204194 = (((ref_204192 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_204195 = (((ref_204192 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_204196 = (((ref_204192 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_204197 = ((ref_204192 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_209844 = ref_12803 # MOVZX operation
ref_210664 = (ref_209844 & 0xFF) # MOVZX operation
ref_216398 = ref_12804 # MOVZX operation
ref_222114 = (ref_216398 & 0xFF) # MOVZX operation
ref_222116 = (ref_222114 & 0xFF) # Byte reference - MOV operation
ref_222894 = (ref_210664 & 0xFF) # MOVZX operation
ref_228574 = (ref_222894 & 0xFF) # MOVZX operation
ref_228576 = (ref_228574 & 0xFF) # Byte reference - MOV operation
ref_234270 = ref_12802 # MOVZX operation
ref_235053 = (ref_234270 & 0xFF) # MOVZX operation
ref_240756 = ref_12808 # MOVZX operation
ref_246480 = (ref_240756 & 0xFF) # MOVZX operation
ref_246482 = (ref_246480 & 0xFF) # Byte reference - MOV operation
ref_247284 = (ref_235053 & 0xFF) # MOVZX operation
ref_252963 = (ref_247284 & 0xFF) # MOVZX operation
ref_252965 = (ref_252963 & 0xFF) # Byte reference - MOV operation
ref_258683 = ((((ref_24639) << 8 | ref_24640) << 8 | ref_24641) << 8 | ref_24642) # MOV operation
ref_259459 = (ref_258683 & 0xFFFFFFFF) # MOV operation
ref_265169 = ((((ref_24635) << 8 | ref_24636) << 8 | ref_24637) << 8 | ref_24638) # MOV operation
ref_270845 = (ref_265169 & 0xFFFFFFFF) # MOV operation
ref_270847 = (((ref_270845 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_270848 = (((ref_270845 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_270849 = (((ref_270845 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_270850 = ((ref_270845 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_271681 = (ref_259459 & 0xFFFFFFFF) # MOV operation
ref_277334 = (ref_271681 & 0xFFFFFFFF) # MOV operation
ref_277336 = (((ref_277334 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_277337 = (((ref_277334 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_277338 = (((ref_277334 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_277339 = ((ref_277334 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_288316 = ((((((((ref_277336) << 8 | ref_277337) << 8 | ref_277338) << 8 | ref_277339) << 8 | ref_270847) << 8 | ref_270848) << 8 | ref_270849) << 8 | ref_270850) # MOV operation
ref_293562 = ((((((((ref_12801) << 8 | ref_246482) << 8 | ref_222116) << 8 | ref_228576) << 8 | ref_12805) << 8 | ref_12806) << 8 | ref_12807) << 8 | ref_252965) # MOV operation
ref_293924 = ref_293562 # MOV operation
ref_293940 = (0x3F & ref_293924) # AND operation
ref_294331 = ref_293940 # MOV operation
ref_294349 = ((ref_294331 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_294356 = ref_294349 # MOV operation
ref_294776 = ref_288316 # MOV operation
ref_294782 = ref_294356 # MOV operation
ref_294784 = (ref_294782 | ref_294776) # OR operation
ref_295199 = ref_294784 # MOV operation
ref_306990 = ((((((((ref_197683) << 8 | ref_197684) << 8 | ref_197685) << 8 | ref_197686) << 8 | ref_204194) << 8 | ref_204195) << 8 | ref_204196) << 8 | ref_204197) # MOV operation
ref_311842 = ref_295199 # MOV operation
ref_312194 = ref_311842 # MOV operation
ref_312212 = (ref_312194 >> (0x3 & 0x3F)) # SHR operation
ref_312219 = ref_312212 # MOV operation
ref_312635 = ref_312219 # MOV operation
ref_312651 = (0xF & ref_312635) # AND operation
ref_313438 = ref_312651 # MOV operation
ref_313446 = (0x1 | ref_313438) # OR operation
ref_316784 = ref_179783 # MOV operation
ref_317156 = ref_316784 # MOV operation
ref_317170 = ref_313446 # MOV operation
ref_317172 = (ref_317170 & 0xFFFFFFFF) # MOV operation
ref_317174 = (ref_317156 >> ((ref_317172 & 0xFF) & 0x3F)) # SHR operation
ref_317181 = ref_317174 # MOV operation
ref_321345 = ref_295199 # MOV operation
ref_321665 = ref_321345 # MOV operation
ref_321683 = (ref_321665 >> (0x3 & 0x3F)) # SHR operation
ref_321690 = ref_321683 # MOV operation
ref_322098 = ref_321690 # MOV operation
ref_322114 = (0xF & ref_322098) # AND operation
ref_322899 = ref_322114 # MOV operation
ref_322907 = (0x1 | ref_322899) # OR operation
ref_323751 = ref_322907 # MOV operation
ref_323753 = ((0x40 - ref_323751) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_323761 = ref_323753 # MOV operation
ref_327041 = ref_179783 # MOV operation
ref_327409 = ref_327041 # MOV operation
ref_327423 = ref_323761 # MOV operation
ref_327425 = (ref_327423 & 0xFFFFFFFF) # MOV operation
ref_327427 = ((ref_327409 << ((ref_327425 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_327434 = ref_327427 # MOV operation
ref_327814 = ref_317181 # MOV operation
ref_327820 = ref_327434 # MOV operation
ref_327822 = (ref_327820 | ref_327814) # OR operation
ref_328250 = ref_327822 # MOV operation
ref_328266 = (0xF & ref_328250) # AND operation
ref_328621 = ref_328266 # MOV operation
ref_328639 = ((ref_328621 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_328646 = ref_328639 # MOV operation
ref_329101 = ref_306990 # MOV operation
ref_329107 = ref_328646 # MOV operation
ref_329109 = (ref_329107 | ref_329101) # OR operation
ref_329508 = ref_329109 # MOV operation
ref_336380 = ref_295199 # MOV operation
ref_336786 = ref_336380 # MOV operation
ref_336804 = (ref_336786 >> (0x3 & 0x3F)) # SHR operation
ref_336811 = ref_336804 # MOV operation
ref_337187 = ref_336811 # MOV operation
ref_337203 = (0x7 & ref_337187) # AND operation
ref_338036 = ref_337203 # MOV operation
ref_338044 = (0x1 | ref_338036) # OR operation
ref_341304 = ((((((((ref_12801) << 8 | ref_246482) << 8 | ref_222116) << 8 | ref_228576) << 8 | ref_12805) << 8 | ref_12806) << 8 | ref_12807) << 8 | ref_252965) # MOV operation
ref_341693 = ref_341304 # MOV operation
ref_341707 = ref_338044 # MOV operation
ref_341709 = (ref_341707 & 0xFFFFFFFF) # MOV operation
ref_341711 = ((ref_341693 << ((ref_341709 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_341718 = ref_341711 # MOV operation
ref_344967 = ref_329508 # MOV operation
ref_348136 = ref_179783 # MOV operation
ref_348496 = ref_344967 # MOV operation
ref_348502 = ref_348136 # MOV operation
ref_348504 = (ref_348502 | ref_348496) # OR operation
ref_348897 = ref_341718 # MOV operation
ref_348903 = ref_348504 # MOV operation
ref_348905 = (ref_348903 | ref_348897) # OR operation
ref_349310 = ref_348905 # MOV operation
ref_350138 = ref_349310 # MOV operation
ref_350140 = ref_350138 # MOV operation

print ref_350140 & 0xffffffffffffffff
