#!/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_12595 = SymVar_0
ref_12610 = ref_12595 # MOV operation
ref_20655 = ref_12610 # MOV operation
ref_21097 = ref_20655 # MOV operation
ref_21107 = (ref_21097 >> (0x5 & 0x3F)) # SHR operation
ref_21114 = ref_21107 # MOV operation
ref_21331 = ref_21114 # MOV operation
ref_21347 = (0x1376783EF7559EA & ref_21331) # AND operation
ref_21577 = ref_21347 # MOV operation
ref_21579 = ((ref_21577 >> 56) & 0xFF) # Byte reference - MOV operation
ref_21580 = ((ref_21577 >> 48) & 0xFF) # Byte reference - MOV operation
ref_21581 = ((ref_21577 >> 40) & 0xFF) # Byte reference - MOV operation
ref_21582 = ((ref_21577 >> 32) & 0xFF) # Byte reference - MOV operation
ref_21583 = ((ref_21577 >> 24) & 0xFF) # Byte reference - MOV operation
ref_21584 = ((ref_21577 >> 16) & 0xFF) # Byte reference - MOV operation
ref_21585 = ((ref_21577 >> 8) & 0xFF) # Byte reference - MOV operation
ref_21586 = (ref_21577 & 0xFF) # Byte reference - MOV operation
ref_25047 = ref_12610 # MOV operation
ref_25489 = ref_25047 # MOV operation
ref_25497 = (0x1A5612E2 | ref_25489) # OR operation
ref_27621 = ref_21577 # MOV operation
ref_27820 = ref_27621 # MOV operation
ref_27836 = (0x7063FB7 & ref_27820) # AND operation
ref_28066 = ref_25497 # MOV operation
ref_28072 = ref_27836 # MOV operation
ref_28074 = ((ref_28072 + ref_28066) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_28305 = ref_28074 # MOV operation
ref_28307 = ((ref_28305 >> 56) & 0xFF) # Byte reference - MOV operation
ref_28308 = ((ref_28305 >> 48) & 0xFF) # Byte reference - MOV operation
ref_28309 = ((ref_28305 >> 40) & 0xFF) # Byte reference - MOV operation
ref_28310 = ((ref_28305 >> 32) & 0xFF) # Byte reference - MOV operation
ref_28311 = ((ref_28305 >> 24) & 0xFF) # Byte reference - MOV operation
ref_28312 = ((ref_28305 >> 16) & 0xFF) # Byte reference - MOV operation
ref_28313 = ((ref_28305 >> 8) & 0xFF) # Byte reference - MOV operation
ref_28314 = (ref_28305 & 0xFF) # Byte reference - MOV operation
ref_32326 = ref_28305 # MOV operation
ref_32768 = ref_32326 # MOV operation
ref_32778 = (ref_32768 >> (0x3 & 0x3F)) # SHR operation
ref_32785 = ref_32778 # MOV operation
ref_33002 = ref_32785 # MOV operation
ref_33018 = (0xF & ref_33002) # AND operation
ref_33483 = ref_33018 # MOV operation
ref_33491 = (0x1 | ref_33483) # OR operation
ref_33962 = ref_33491 # MOV operation
ref_33964 = (ref_33962 & 0xFFFFFFFF) # MOV operation
ref_33966 = ((0x3162E74F << ((ref_33964 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_33973 = ref_33966 # MOV operation
ref_36327 = ref_28305 # MOV operation
ref_36769 = ref_36327 # MOV operation
ref_36779 = (ref_36769 >> (0x3 & 0x3F)) # SHR operation
ref_36786 = ref_36779 # MOV operation
ref_37003 = ref_36786 # MOV operation
ref_37019 = (0xF & ref_37003) # AND operation
ref_37484 = ref_37019 # MOV operation
ref_37492 = (0x1 | ref_37484) # OR operation
ref_37963 = ref_37492 # MOV operation
ref_37965 = ((0x40 - ref_37963) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_37973 = ref_37965 # MOV operation
ref_38204 = ref_37973 # MOV operation
ref_38206 = (ref_38204 & 0xFFFFFFFF) # MOV operation
ref_38208 = (0x3162E74F >> ((ref_38206 & 0xFF) & 0x3F)) # SHR operation
ref_38215 = ref_38208 # MOV operation
ref_38440 = ref_33973 # MOV operation
ref_38446 = ref_38215 # MOV operation
ref_38448 = (ref_38446 | ref_38440) # OR operation
ref_38913 = ref_38448 # MOV operation
ref_38923 = (ref_38913 >> (0x4 & 0x3F)) # SHR operation
ref_38930 = ref_38923 # MOV operation
ref_39147 = ref_38930 # MOV operation
ref_39163 = (0x7 & ref_39147) # AND operation
ref_39628 = ref_39163 # MOV operation
ref_39636 = (0x1 | ref_39628) # OR operation
ref_41679 = ref_12610 # MOV operation
ref_41878 = ref_41679 # MOV operation
ref_41894 = ((ref_41878 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_41902 = ref_41894 # MOV operation
ref_42119 = ref_41902 # MOV operation
ref_42133 = ref_39636 # MOV operation
ref_42135 = (ref_42133 & 0xFFFFFFFF) # MOV operation
ref_42137 = ((ref_42119 << ((ref_42135 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_42144 = ref_42137 # MOV operation
ref_42369 = ref_42144 # MOV operation
ref_46074 = ref_12610 # MOV operation
ref_46273 = ref_46074 # MOV operation
ref_46289 = ((ref_46273 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_46297 = ref_46289 # MOV operation
ref_46522 = ref_46297 # MOV operation
ref_52165 = ref_46522 # MOV operation
ref_55186 = ref_28305 # MOV operation
ref_55385 = ref_55186 # MOV operation
ref_55401 = (0xF & ref_55385) # AND operation
ref_55623 = ref_55401 # MOV operation
ref_55641 = ((ref_55623 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_55648 = ref_55641 # MOV operation
ref_55873 = ref_52165 # MOV operation
ref_55879 = ref_55648 # MOV operation
ref_55881 = (ref_55879 | ref_55873) # OR operation
ref_56111 = ref_55881 # MOV operation
ref_59662 = ref_42369 # MOV operation
ref_61998 = ref_56111 # MOV operation
ref_62197 = ref_61998 # MOV operation
ref_62213 = (0x1F & ref_62197) # AND operation
ref_62435 = ref_62213 # MOV operation
ref_62453 = ((ref_62435 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_62460 = ref_62453 # MOV operation
ref_62685 = ref_59662 # MOV operation
ref_62691 = ref_62460 # MOV operation
ref_62693 = (ref_62691 | ref_62685) # OR operation
ref_62923 = ref_62693 # MOV operation
ref_66474 = ref_56111 # MOV operation
ref_69495 = ref_28305 # MOV operation
ref_69694 = ref_69495 # MOV operation
ref_69710 = (0xF & ref_69694) # AND operation
ref_69932 = ref_69710 # MOV operation
ref_69950 = ((ref_69932 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_69957 = ref_69950 # MOV operation
ref_70182 = ref_66474 # MOV operation
ref_70188 = ref_69957 # MOV operation
ref_70190 = (ref_70188 | ref_70182) # OR operation
ref_70420 = ref_70190 # MOV operation
ref_76748 = ref_70420 # MOV operation
ref_79769 = ref_70420 # MOV operation
ref_79968 = ref_79769 # MOV operation
ref_79984 = (0xF & ref_79968) # AND operation
ref_80206 = ref_79984 # MOV operation
ref_80224 = ((ref_80206 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_80231 = ref_80224 # MOV operation
ref_80456 = ref_76748 # MOV operation
ref_80462 = ref_80231 # MOV operation
ref_80464 = (ref_80462 | ref_80456) # OR operation
ref_80694 = ref_80464 # MOV operation
ref_84245 = ref_62923 # MOV operation
ref_86581 = ref_80694 # MOV operation
ref_86780 = ref_86581 # MOV operation
ref_86796 = (0x1F & ref_86780) # AND operation
ref_87018 = ref_86796 # MOV operation
ref_87036 = ((ref_87018 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_87043 = ref_87036 # MOV operation
ref_87268 = ref_84245 # MOV operation
ref_87274 = ref_87043 # MOV operation
ref_87276 = (ref_87274 | ref_87268) # OR operation
ref_87506 = ref_87276 # MOV operation
ref_87508 = ((ref_87506 >> 56) & 0xFF) # Byte reference - MOV operation
ref_87509 = ((ref_87506 >> 48) & 0xFF) # Byte reference - MOV operation
ref_87510 = ((ref_87506 >> 40) & 0xFF) # Byte reference - MOV operation
ref_87511 = ((ref_87506 >> 32) & 0xFF) # Byte reference - MOV operation
ref_87512 = ((ref_87506 >> 24) & 0xFF) # Byte reference - MOV operation
ref_87513 = ((ref_87506 >> 16) & 0xFF) # Byte reference - MOV operation
ref_87514 = ((ref_87506 >> 8) & 0xFF) # Byte reference - MOV operation
ref_87515 = (ref_87506 & 0xFF) # Byte reference - MOV operation
ref_91057 = ref_80694 # MOV operation
ref_94078 = ref_80694 # MOV operation
ref_94277 = ref_94078 # MOV operation
ref_94293 = (0xF & ref_94277) # AND operation
ref_94515 = ref_94293 # MOV operation
ref_94533 = ((ref_94515 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_94540 = ref_94533 # MOV operation
ref_94765 = ref_91057 # MOV operation
ref_94771 = ref_94540 # MOV operation
ref_94773 = (ref_94771 | ref_94765) # OR operation
ref_95003 = ref_94773 # MOV operation
ref_111596 = ref_95003 # MOV operation
ref_113932 = ref_87506 # MOV operation
ref_115798 = ref_87506 # MOV operation
ref_116005 = ref_113932 # MOV operation
ref_116011 = ref_115798 # MOV operation
ref_116013 = ((ref_116011 + ref_116005) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_116236 = ref_116013 # MOV operation
ref_116252 = (0x7 & ref_116236) # AND operation
ref_116474 = ref_116252 # MOV operation
ref_116492 = ((ref_116474 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_116499 = ref_116492 # MOV operation
ref_116724 = ref_111596 # MOV operation
ref_116730 = ref_116499 # MOV operation
ref_116732 = (ref_116730 | ref_116724) # OR operation
ref_116962 = ref_116732 # MOV operation
ref_120182 = ((((ref_87508) << 8 | ref_87509) << 8 | ref_87510) << 8 | ref_87511) # MOV operation
ref_120632 = (ref_120182 & 0xFFFFFFFF) # MOV operation
ref_123848 = ((((ref_87512) << 8 | ref_87513) << 8 | ref_87514) << 8 | ref_87515) # MOV operation
ref_127054 = (ref_123848 & 0xFFFFFFFF) # MOV operation
ref_127056 = (((ref_127054 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_127057 = (((ref_127054 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_127058 = (((ref_127054 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_127059 = ((ref_127054 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_127514 = (ref_120632 & 0xFFFFFFFF) # MOV operation
ref_130720 = (ref_127514 & 0xFFFFFFFF) # MOV operation
ref_130722 = (((ref_130720 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_130723 = (((ref_130720 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_130724 = (((ref_130720 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_130725 = ((ref_130720 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_134183 = ref_21581 # MOVZX operation
ref_134382 = (ref_134183 & 0xFF) # MOVZX operation
ref_140597 = ref_21582 # MOVZX operation
ref_140796 = (ref_140597 & 0xFF) # MOVZX operation
ref_140798 = (ref_140796 & 0xFF) # Byte reference - MOV operation
ref_144255 = (ref_134382 & 0xFF) # MOVZX operation
ref_144454 = (ref_144255 & 0xFF) # MOVZX operation
ref_144456 = (ref_144454 & 0xFF) # Byte reference - MOV operation
ref_147913 = ref_21580 # MOVZX operation
ref_148112 = (ref_147913 & 0xFF) # MOVZX operation
ref_154327 = ref_21586 # MOVZX operation
ref_154526 = (ref_154327 & 0xFF) # MOVZX operation
ref_154528 = (ref_154526 & 0xFF) # Byte reference - MOV operation
ref_157985 = (ref_148112 & 0xFF) # MOVZX operation
ref_158184 = (ref_157985 & 0xFF) # MOVZX operation
ref_158186 = (ref_158184 & 0xFF) # Byte reference - MOV operation
ref_161396 = ((((ref_28311) << 8 | ref_28312) << 8 | ref_28313) << 8 | ref_28314) # MOV operation
ref_161846 = (ref_161396 & 0xFFFFFFFF) # MOV operation
ref_165062 = ((((ref_28307) << 8 | ref_28308) << 8 | ref_28309) << 8 | ref_28310) # MOV operation
ref_168268 = (ref_165062 & 0xFFFFFFFF) # MOV operation
ref_168270 = (((ref_168268 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_168271 = (((ref_168268 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_168272 = (((ref_168268 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_168273 = ((ref_168268 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_168728 = (ref_161846 & 0xFFFFFFFF) # MOV operation
ref_171934 = (ref_168728 & 0xFFFFFFFF) # MOV operation
ref_171936 = (((ref_171934 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_171937 = (((ref_171934 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_171938 = (((ref_171934 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_171939 = ((ref_171934 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_178211 = ((((((((ref_171936) << 8 | ref_171937) << 8 | ref_171938) << 8 | ref_171939) << 8 | ref_168270) << 8 | ref_168271) << 8 | ref_168272) << 8 | ref_168273) # MOV operation
ref_181232 = ((((((((ref_21579) << 8 | ref_154528) << 8 | ref_140798) << 8 | ref_144456) << 8 | ref_21583) << 8 | ref_21584) << 8 | ref_21585) << 8 | ref_158186) # MOV operation
ref_181431 = ref_181232 # MOV operation
ref_181447 = (0x3F & ref_181431) # AND operation
ref_181669 = ref_181447 # MOV operation
ref_181687 = ((ref_181669 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_181694 = ref_181687 # MOV operation
ref_181919 = ref_178211 # MOV operation
ref_181925 = ref_181694 # MOV operation
ref_181927 = (ref_181925 | ref_181919) # OR operation
ref_182157 = ref_181927 # MOV operation
ref_188895 = ((((((((ref_127056) << 8 | ref_127057) << 8 | ref_127058) << 8 | ref_127059) << 8 | ref_130722) << 8 | ref_130723) << 8 | ref_130724) << 8 | ref_130725) # MOV operation
ref_191231 = ref_116962 # MOV operation
ref_193332 = ref_182157 # MOV operation
ref_193774 = ref_193332 # MOV operation
ref_193784 = (ref_193774 >> (0x3 & 0x3F)) # SHR operation
ref_193791 = ref_193784 # MOV operation
ref_194008 = ref_193791 # MOV operation
ref_194024 = (0xF & ref_194008) # AND operation
ref_194489 = ref_194024 # MOV operation
ref_194497 = (0x1 | ref_194489) # OR operation
ref_194727 = ref_191231 # MOV operation
ref_194733 = ref_194497 # MOV operation
ref_194735 = (ref_194733 & 0xFFFFFFFF) # MOV operation
ref_194737 = (ref_194727 >> ((ref_194735 & 0xFF) & 0x3F)) # SHR operation
ref_194744 = ref_194737 # MOV operation
ref_196863 = ref_182157 # MOV operation
ref_197305 = ref_196863 # MOV operation
ref_197315 = (ref_197305 >> (0x3 & 0x3F)) # SHR operation
ref_197322 = ref_197315 # MOV operation
ref_197539 = ref_197322 # MOV operation
ref_197555 = (0xF & ref_197539) # AND operation
ref_198020 = ref_197555 # MOV operation
ref_198028 = (0x1 | ref_198020) # OR operation
ref_198499 = ref_198028 # MOV operation
ref_198501 = ((0x40 - ref_198499) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_198509 = ref_198501 # MOV operation
ref_200393 = ref_116962 # MOV operation
ref_200592 = ref_200393 # MOV operation
ref_200606 = ref_198509 # MOV operation
ref_200608 = (ref_200606 & 0xFFFFFFFF) # MOV operation
ref_200610 = ((ref_200592 << ((ref_200608 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_200617 = ref_200610 # MOV operation
ref_200842 = ref_194744 # MOV operation
ref_200848 = ref_200617 # MOV operation
ref_200850 = (ref_200848 | ref_200842) # OR operation
ref_201072 = ref_200850 # MOV operation
ref_201088 = (0xF & ref_201072) # AND operation
ref_201310 = ref_201088 # MOV operation
ref_201328 = ((ref_201310 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_201335 = ref_201328 # MOV operation
ref_201560 = ref_188895 # MOV operation
ref_201566 = ref_201335 # MOV operation
ref_201568 = (ref_201566 | ref_201560) # OR operation
ref_201798 = ref_201568 # MOV operation
ref_205512 = ref_182157 # MOV operation
ref_205954 = ref_205512 # MOV operation
ref_205964 = (ref_205954 >> (0x3 & 0x3F)) # SHR operation
ref_205971 = ref_205964 # MOV operation
ref_206188 = ref_205971 # MOV operation
ref_206204 = (0x7 & ref_206188) # AND operation
ref_206669 = ref_206204 # MOV operation
ref_206677 = (0x1 | ref_206669) # OR operation
ref_208566 = ((((((((ref_21579) << 8 | ref_154528) << 8 | ref_140798) << 8 | ref_144456) << 8 | ref_21583) << 8 | ref_21584) << 8 | ref_21585) << 8 | ref_158186) # MOV operation
ref_208765 = ref_208566 # MOV operation
ref_208779 = ref_206677 # MOV operation
ref_208781 = (ref_208779 & 0xFFFFFFFF) # MOV operation
ref_208783 = ((ref_208765 << ((ref_208781 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_208790 = ref_208783 # MOV operation
ref_210674 = ref_201798 # MOV operation
ref_212540 = ref_116962 # MOV operation
ref_212747 = ref_210674 # MOV operation
ref_212753 = ref_212540 # MOV operation
ref_212755 = (ref_212753 | ref_212747) # OR operation
ref_212985 = ref_208790 # MOV operation
ref_212991 = ref_212755 # MOV operation
ref_212993 = (ref_212991 | ref_212985) # OR operation
ref_213223 = ref_212993 # MOV operation
ref_213713 = ref_213223 # MOV operation
ref_213715 = ref_213713 # MOV operation

print ref_213715 & 0xffffffffffffffff
