#!/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_6613 = ref_278 # MOV operation
ref_7113 = ref_6613 # MOV operation
ref_7121 = (0x1F02C962 | ref_7113) # OR operation
ref_7666 = ref_7121 # MOV operation
ref_7674 = (0x1F8797B2 & ref_7666) # AND operation
ref_9784 = ref_7674 # MOV operation
ref_11795 = ref_278 # MOV operation
ref_13859 = ref_9784 # MOV operation
ref_14097 = ref_11795 # MOV operation
ref_14103 = ref_13859 # MOV operation
ref_14105 = (ref_14103 & ref_14097) # AND operation
ref_16233 = ref_14105 # MOV operation
ref_18577 = ref_16233 # MOV operation
ref_18810 = ref_18577 # MOV operation
ref_18828 = (ref_18810 >> (0x7 & 0x3F)) # SHR operation
ref_18835 = ref_18828 # MOV operation
ref_20939 = ref_16233 # MOV operation
ref_21429 = ref_20939 # MOV operation
ref_21439 = ((ref_21429 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_21446 = ref_21439 # MOV operation
ref_21702 = ref_18835 # MOV operation
ref_21708 = ref_21446 # MOV operation
ref_21710 = (ref_21708 | ref_21702) # OR operation
ref_23731 = ref_278 # MOV operation
ref_24213 = ref_23731 # MOV operation
ref_24221 = (((sx(0x40, 0x66AF1DF) * sx(0x40, ref_24213)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_24464 = ref_24221 # MOV operation
ref_24478 = ref_21710 # MOV operation
ref_24480 = ((ref_24478 + ref_24464) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_26610 = ref_24480 # MOV operation
ref_46600 = ref_26610 # MOV operation
ref_49421 = ref_26610 # MOV operation
ref_49644 = ref_49421 # MOV operation
ref_49658 = ref_46600 # MOV operation
ref_49660 = ((ref_49658 + ref_49644) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_51786 = ref_49660 # MOV operation
ref_54648 = ref_26610 # MOV operation
ref_56961 = ref_16233 # MOV operation
ref_57460 = ref_56961 # MOV operation
ref_57468 = (0x7 & ref_57460) # AND operation
ref_57995 = ref_57468 # MOV operation
ref_58005 = ((ref_57995 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_58012 = ref_58005 # MOV operation
ref_58272 = ref_54648 # MOV operation
ref_58278 = ref_58012 # MOV operation
ref_58280 = (ref_58278 | ref_58272) # OR operation
ref_61149 = ref_58280 # MOV operation
ref_61151 = ((ref_61149 >> 56) & 0xFF) # Byte reference - MOV operation
ref_61152 = ((ref_61149 >> 48) & 0xFF) # Byte reference - MOV operation
ref_61153 = ((ref_61149 >> 40) & 0xFF) # Byte reference - MOV operation
ref_61154 = ((ref_61149 >> 32) & 0xFF) # Byte reference - MOV operation
ref_61155 = ((ref_61149 >> 24) & 0xFF) # Byte reference - MOV operation
ref_61156 = ((ref_61149 >> 16) & 0xFF) # Byte reference - MOV operation
ref_61157 = ((ref_61149 >> 8) & 0xFF) # Byte reference - MOV operation
ref_61158 = (ref_61149 & 0xFF) # Byte reference - MOV operation
ref_65506 = ref_61151 # MOVZX operation
ref_65974 = (ref_65506 & 0xFF) # MOVZX operation
ref_70234 = ref_61158 # MOVZX operation
ref_74539 = (ref_70234 & 0xFF) # MOVZX operation
ref_74541 = (ref_74539 & 0xFF) # Byte reference - MOV operation
ref_75060 = (ref_65974 & 0xFF) # MOVZX operation
ref_79395 = (ref_75060 & 0xFF) # MOVZX operation
ref_79397 = (ref_79395 & 0xFF) # Byte reference - MOV operation
ref_81469 = ref_9784 # MOV operation
ref_84361 = ((((((((ref_74541) << 8 | ref_61152) << 8 | ref_61153) << 8 | ref_61154) << 8 | ref_61155) << 8 | ref_61156) << 8 | ref_61157) << 8 | ref_79397) # MOV operation
ref_86652 = ref_16233 # MOV operation
ref_86893 = ref_84361 # MOV operation
ref_86899 = ref_86652 # MOV operation
ref_86901 = (ref_86899 & ref_86893) # AND operation
ref_87445 = ref_86901 # MOV operation
ref_87453 = (0x1F & ref_87445) # AND operation
ref_87934 = ref_87453 # MOV operation
ref_87944 = ((ref_87934 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_87951 = ref_87944 # MOV operation
ref_88209 = ref_81469 # MOV operation
ref_88215 = ref_87951 # MOV operation
ref_88217 = (ref_88215 | ref_88209) # OR operation
ref_90339 = ref_88217 # MOV operation
ref_96313 = ref_51786 # MOV operation
ref_99130 = ref_51786 # MOV operation
ref_99360 = ref_99130 # MOV operation
ref_99374 = ref_96313 # MOV operation
ref_99376 = ((ref_99374 + ref_99360) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_101505 = ref_99376 # MOV operation
ref_104367 = ref_101505 # MOV operation
ref_106678 = ((((((((ref_74541) << 8 | ref_61152) << 8 | ref_61153) << 8 | ref_61154) << 8 | ref_61155) << 8 | ref_61156) << 8 | ref_61157) << 8 | ref_79397) # MOV operation
ref_107182 = ref_106678 # MOV operation
ref_107190 = (0x7 & ref_107182) # AND operation
ref_107695 = ref_107190 # MOV operation
ref_107705 = ((ref_107695 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_107712 = ref_107705 # MOV operation
ref_107961 = ref_104367 # MOV operation
ref_107967 = ref_107712 # MOV operation
ref_107969 = (ref_107967 | ref_107961) # OR operation
ref_110868 = ref_107969 # MOV operation
ref_110870 = ((ref_110868 >> 56) & 0xFF) # Byte reference - MOV operation
ref_110871 = ((ref_110868 >> 48) & 0xFF) # Byte reference - MOV operation
ref_110872 = ((ref_110868 >> 40) & 0xFF) # Byte reference - MOV operation
ref_110873 = ((ref_110868 >> 32) & 0xFF) # Byte reference - MOV operation
ref_110874 = ((ref_110868 >> 24) & 0xFF) # Byte reference - MOV operation
ref_110875 = ((ref_110868 >> 16) & 0xFF) # Byte reference - MOV operation
ref_110876 = ((ref_110868 >> 8) & 0xFF) # Byte reference - MOV operation
ref_110877 = (ref_110868 & 0xFF) # Byte reference - MOV operation
ref_115245 = ref_110870 # MOVZX operation
ref_115707 = (ref_115245 & 0xFF) # MOVZX operation
ref_120088 = ref_110877 # MOVZX operation
ref_124397 = (ref_120088 & 0xFF) # MOVZX operation
ref_124399 = (ref_124397 & 0xFF) # Byte reference - MOV operation
ref_124884 = (ref_115707 & 0xFF) # MOVZX operation
ref_129234 = (ref_124884 & 0xFF) # MOVZX operation
ref_129236 = (ref_129234 & 0xFF) # Byte reference - MOV operation
ref_131278 = ref_90339 # MOV operation
ref_134053 = ((((((((ref_124399) << 8 | ref_110871) << 8 | ref_110872) << 8 | ref_110873) << 8 | ref_110874) << 8 | ref_110875) << 8 | ref_110876) << 8 | ref_129236) # MOV operation
ref_136376 = ((((((((ref_74541) << 8 | ref_61152) << 8 | ref_61153) << 8 | ref_61154) << 8 | ref_61155) << 8 | ref_61156) << 8 | ref_61157) << 8 | ref_79397) # MOV operation
ref_136650 = ref_134053 # MOV operation
ref_136656 = ref_136376 # MOV operation
ref_136658 = (ref_136656 & ref_136650) # AND operation
ref_137149 = ref_136658 # MOV operation
ref_137157 = (0x1F & ref_137149) # AND operation
ref_137654 = ref_137157 # MOV operation
ref_137664 = ((ref_137654 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_137671 = ref_137664 # MOV operation
ref_137920 = ref_131278 # MOV operation
ref_137926 = ref_137671 # MOV operation
ref_137928 = (ref_137926 | ref_137920) # OR operation
ref_140054 = ref_137928 # MOV operation
ref_145885 = ref_16233 # MOV operation
ref_146151 = ref_145885 # MOV operation
ref_146169 = (ref_146151 >> (0x1 & 0x3F)) # SHR operation
ref_146176 = ref_146169 # MOV operation
ref_146662 = ref_146176 # MOV operation
ref_146670 = (0xF & ref_146662) # AND operation
ref_147167 = ref_146670 # MOV operation
ref_147175 = (0x1 | ref_147167) # OR operation
ref_149282 = ref_140054 # MOV operation
ref_149473 = ref_149282 # MOV operation
ref_149487 = ref_147175 # MOV operation
ref_149489 = (ref_149487 & 0xFFFFFFFF) # MOV operation
ref_149491 = (ref_149473 >> ((ref_149489 & 0xFF) & 0x3F)) # SHR operation
ref_149498 = ref_149491 # MOV operation
ref_151556 = ref_140054 # MOV operation
ref_154148 = ref_16233 # MOV operation
ref_154387 = ref_154148 # MOV operation
ref_154405 = (ref_154387 >> (0x1 & 0x3F)) # SHR operation
ref_154412 = ref_154405 # MOV operation
ref_154904 = ref_154412 # MOV operation
ref_154912 = (0xF & ref_154904) # AND operation
ref_155462 = ref_154912 # MOV operation
ref_155470 = (0x1 | ref_155462) # OR operation
ref_155708 = ref_155470 # MOV operation
ref_155710 = ((0x40 - ref_155708) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_155718 = ref_155710 # MOV operation
ref_155967 = ref_151556 # MOV operation
ref_155973 = ref_155718 # MOV operation
ref_155975 = (ref_155973 & 0xFFFFFFFF) # MOV operation
ref_155977 = ((ref_155967 << ((ref_155975 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_155984 = ref_155977 # MOV operation
ref_156249 = ref_149498 # MOV operation
ref_156255 = ref_155984 # MOV operation
ref_156257 = (ref_156255 | ref_156249) # OR operation
ref_158337 = ((((((((ref_74541) << 8 | ref_61152) << 8 | ref_61153) << 8 | ref_61154) << 8 | ref_61155) << 8 | ref_61156) << 8 | ref_61157) << 8 | ref_79397) # MOV operation
ref_160367 = ((((((((ref_124399) << 8 | ref_110871) << 8 | ref_110872) << 8 | ref_110873) << 8 | ref_110874) << 8 | ref_110875) << 8 | ref_110876) << 8 | ref_129236) # MOV operation
ref_160598 = ref_158337 # MOV operation
ref_160604 = ref_160367 # MOV operation
ref_160606 = (ref_160604 | ref_160598) # OR operation
ref_161137 = ref_160606 # MOV operation
ref_161145 = (0xF & ref_161137) # AND operation
ref_161677 = ref_161145 # MOV operation
ref_161685 = (0x1 | ref_161677) # OR operation
ref_161917 = ref_156257 # MOV operation
ref_161923 = ref_161685 # MOV operation
ref_161925 = (ref_161923 & 0xFFFFFFFF) # MOV operation
ref_161927 = ((ref_161917 << ((ref_161925 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_161934 = ref_161927 # MOV operation
ref_164320 = ((((((((ref_74541) << 8 | ref_61152) << 8 | ref_61153) << 8 | ref_61154) << 8 | ref_61155) << 8 | ref_61156) << 8 | ref_61157) << 8 | ref_79397) # MOV operation
ref_166345 = ((((((((ref_124399) << 8 | ref_110871) << 8 | ref_110872) << 8 | ref_110873) << 8 | ref_110874) << 8 | ref_110875) << 8 | ref_110876) << 8 | ref_129236) # MOV operation
ref_166586 = ref_164320 # MOV operation
ref_166592 = ref_166345 # MOV operation
ref_166594 = (ref_166592 | ref_166586) # OR operation
ref_167113 = ref_166594 # MOV operation
ref_167121 = (0xF & ref_167113) # AND operation
ref_167628 = ref_167121 # MOV operation
ref_167636 = (0x1 | ref_167628) # OR operation
ref_167896 = ref_167636 # MOV operation
ref_167898 = ((0x40 - ref_167896) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_167906 = ref_167898 # MOV operation
ref_170203 = ref_16233 # MOV operation
ref_170430 = ref_170203 # MOV operation
ref_170448 = (ref_170430 >> (0x1 & 0x3F)) # SHR operation
ref_170455 = ref_170448 # MOV operation
ref_170982 = ref_170455 # MOV operation
ref_170990 = (0xF & ref_170982) # AND operation
ref_171496 = ref_170990 # MOV operation
ref_171504 = (0x1 | ref_171496) # OR operation
ref_173621 = ref_140054 # MOV operation
ref_173812 = ref_173621 # MOV operation
ref_173826 = ref_171504 # MOV operation
ref_173828 = (ref_173826 & 0xFFFFFFFF) # MOV operation
ref_173830 = (ref_173812 >> ((ref_173828 & 0xFF) & 0x3F)) # SHR operation
ref_173837 = ref_173830 # MOV operation
ref_175922 = ref_140054 # MOV operation
ref_178462 = ref_16233 # MOV operation
ref_178701 = ref_178462 # MOV operation
ref_178719 = (ref_178701 >> (0x1 & 0x3F)) # SHR operation
ref_178726 = ref_178719 # MOV operation
ref_179202 = ref_178726 # MOV operation
ref_179210 = (0xF & ref_179202) # AND operation
ref_179741 = ref_179210 # MOV operation
ref_179749 = (0x1 | ref_179741) # OR operation
ref_180017 = ref_179749 # MOV operation
ref_180019 = ((0x40 - ref_180017) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_180027 = ref_180019 # MOV operation
ref_180287 = ref_175922 # MOV operation
ref_180293 = ref_180027 # MOV operation
ref_180295 = (ref_180293 & 0xFFFFFFFF) # MOV operation
ref_180297 = ((ref_180287 << ((ref_180295 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_180304 = ref_180297 # MOV operation
ref_180531 = ref_173837 # MOV operation
ref_180537 = ref_180304 # MOV operation
ref_180539 = (ref_180537 | ref_180531) # OR operation
ref_180800 = ref_180539 # MOV operation
ref_180814 = ref_167906 # MOV operation
ref_180816 = (ref_180814 & 0xFFFFFFFF) # MOV operation
ref_180818 = (ref_180800 >> ((ref_180816 & 0xFF) & 0x3F)) # SHR operation
ref_180825 = ref_180818 # MOV operation
ref_181042 = ref_161934 # MOV operation
ref_181048 = ref_180825 # MOV operation
ref_181050 = (ref_181048 | ref_181042) # OR operation
ref_183103 = ref_181050 # MOV operation
ref_183654 = ref_183103 # MOV operation
ref_183656 = ref_183654 # MOV operation

print ref_183656 & 0xffffffffffffffff
