#!/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_264 = SymVar_0
ref_279 = ref_264 # MOV operation
ref_66472 = ref_279 # MOV operation
ref_66756 = ref_66472 # MOV operation
ref_66764 = ((ref_66756 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_66771 = ref_66764 # MOV operation
ref_67913 = ref_279 # MOV operation
ref_68152 = ref_67913 # MOV operation
ref_68160 = (ref_68152 >> (0x7 & 0x3F)) # SHR operation
ref_68167 = ref_68160 # MOV operation
ref_68296 = ref_68167 # MOV operation
ref_68308 = ref_66771 # MOV operation
ref_68310 = (ref_68308 | ref_68296) # OR operation
ref_68434 = ref_68310 # MOV operation
ref_70782 = ref_68434 # MOV operation
ref_71061 = ref_70782 # MOV operation
ref_71063 = ((ref_71061 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_71192 = ref_71063 # MOV operation
ref_71194 = (ref_71192 & 0x1D5ABF66) # AND operation
ref_72341 = ref_279 # MOV operation
ref_72625 = ref_72341 # MOV operation
ref_72633 = ((ref_72625 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_72640 = ref_72633 # MOV operation
ref_73782 = ref_279 # MOV operation
ref_74021 = ref_73782 # MOV operation
ref_74029 = (ref_74021 >> (0xB & 0x3F)) # SHR operation
ref_74036 = ref_74029 # MOV operation
ref_74165 = ref_74036 # MOV operation
ref_74177 = ref_72640 # MOV operation
ref_74179 = (ref_74177 | ref_74165) # OR operation
ref_74313 = ref_74179 # MOV operation
ref_74325 = ref_71194 # MOV operation
ref_74327 = ((ref_74313 - ref_74325) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_74335 = ref_74327 # MOV operation
ref_74454 = ref_74335 # MOV operation
ref_76780 = ref_279 # MOV operation
ref_76889 = ref_76780 # MOV operation
ref_76903 = ((ref_76889 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_76911 = ref_76903 # MOV operation
ref_77030 = ref_76911 # MOV operation
ref_79378 = ref_68434 # MOV operation
ref_79487 = ref_79378 # MOV operation
ref_79501 = ((0x20453EE3 + ref_79487) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_80649 = ref_279 # MOV operation
ref_80758 = ref_80649 # MOV operation
ref_80770 = ref_79501 # MOV operation
ref_80772 = ((ref_80758 - ref_80770) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_80780 = ref_80772 # MOV operation
ref_80899 = ref_80780 # MOV operation
ref_84586 = ref_68434 # MOV operation
ref_86167 = ref_77030 # MOV operation
ref_86276 = ref_86167 # MOV operation
ref_86288 = ref_84586 # MOV operation
ref_86290 = (ref_86288 | ref_86276) # OR operation
ref_86572 = ref_86290 # MOV operation
ref_86578 = (0x3F & ref_86572) # AND operation
ref_86887 = ref_86578 # MOV operation
ref_86895 = ((ref_86887 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_86902 = ref_86895 # MOV operation
ref_88196 = ref_68434 # MOV operation
ref_88305 = ref_88196 # MOV operation
ref_88317 = ref_86902 # MOV operation
ref_88319 = (ref_88317 | ref_88305) # OR operation
ref_88443 = ref_88319 # MOV operation
ref_91070 = ref_74454 # MOV operation
ref_92502 = ref_88443 # MOV operation
ref_92741 = ref_92502 # MOV operation
ref_92749 = (ref_92741 >> (0x1 & 0x3F)) # SHR operation
ref_92756 = ref_92749 # MOV operation
ref_93033 = ref_92756 # MOV operation
ref_93039 = (0xF & ref_93033) # AND operation
ref_93173 = ref_93039 # MOV operation
ref_93187 = (0x1 | ref_93173) # OR operation
ref_93491 = ref_93187 # MOV operation
ref_93493 = ((0x40 - ref_93491) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_93501 = ref_93493 # MOV operation
ref_93647 = ref_91070 # MOV operation
ref_93651 = ref_93501 # MOV operation
ref_93653 = (ref_93651 & 0xFFFFFFFF) # MOV operation
ref_93655 = ((ref_93647 << ((ref_93653 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_93662 = ref_93655 # MOV operation
ref_94826 = ref_74454 # MOV operation
ref_96258 = ref_88443 # MOV operation
ref_96497 = ref_96258 # MOV operation
ref_96505 = (ref_96497 >> (0x1 & 0x3F)) # SHR operation
ref_96512 = ref_96505 # MOV operation
ref_96789 = ref_96512 # MOV operation
ref_96795 = (0xF & ref_96789) # AND operation
ref_96929 = ref_96795 # MOV operation
ref_96943 = (0x1 | ref_96929) # OR operation
ref_97049 = ref_94826 # MOV operation
ref_97053 = ref_96943 # MOV operation
ref_97055 = (ref_97053 & 0xFFFFFFFF) # MOV operation
ref_97057 = (ref_97049 >> ((ref_97055 & 0xFF) & 0x3F)) # SHR operation
ref_97064 = ref_97057 # MOV operation
ref_97193 = ref_97064 # MOV operation
ref_97205 = ref_93662 # MOV operation
ref_97207 = (ref_97205 | ref_97193) # OR operation
ref_97331 = ref_97207 # MOV operation
ref_99521 = ref_80899 # MOV operation
ref_101102 = ref_97331 # MOV operation
ref_101211 = ref_101102 # MOV operation
ref_101223 = ref_99521 # MOV operation
ref_101225 = ((ref_101211 - ref_101223) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_101233 = ref_101225 # MOV operation
ref_101352 = ref_101233 # MOV operation
ref_105322 = ref_88443 # MOV operation
ref_106624 = ref_74454 # MOV operation
ref_106881 = ref_106624 # MOV operation
ref_106887 = (0xF & ref_106881) # AND operation
ref_107021 = ref_106887 # MOV operation
ref_107035 = (0x1 | ref_107021) # OR operation
ref_107339 = ref_107035 # MOV operation
ref_107341 = ((0x40 - ref_107339) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_107349 = ref_107341 # MOV operation
ref_107495 = ref_105322 # MOV operation
ref_107499 = ref_107349 # MOV operation
ref_107501 = (ref_107499 & 0xFFFFFFFF) # MOV operation
ref_107503 = ((ref_107495 << ((ref_107501 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_107510 = ref_107503 # MOV operation
ref_108674 = ref_88443 # MOV operation
ref_109976 = ref_74454 # MOV operation
ref_110233 = ref_109976 # MOV operation
ref_110239 = (0xF & ref_110233) # AND operation
ref_110373 = ref_110239 # MOV operation
ref_110387 = (0x1 | ref_110373) # OR operation
ref_110493 = ref_108674 # MOV operation
ref_110497 = ref_110387 # MOV operation
ref_110499 = (ref_110497 & 0xFFFFFFFF) # MOV operation
ref_110501 = (ref_110493 >> ((ref_110499 & 0xFF) & 0x3F)) # SHR operation
ref_110508 = ref_110501 # MOV operation
ref_110637 = ref_110508 # MOV operation
ref_110649 = ref_107510 # MOV operation
ref_110651 = (ref_110649 | ref_110637) # OR operation
ref_111978 = ref_80899 # MOV operation
ref_113122 = ref_101352 # MOV operation
ref_113231 = ref_113122 # MOV operation
ref_113243 = ref_111978 # MOV operation
ref_113245 = (ref_113243 | ref_113231) # OR operation
ref_113509 = ref_113245 # MOV operation
ref_113517 = (ref_113509 >> (0x1 & 0x3F)) # SHR operation
ref_113524 = ref_113517 # MOV operation
ref_113801 = ref_113524 # MOV operation
ref_113807 = (0x7 & ref_113801) # AND operation
ref_113941 = ref_113807 # MOV operation
ref_113955 = (0x1 | ref_113941) # OR operation
ref_114106 = ref_110651 # MOV operation
ref_114110 = ref_113955 # MOV operation
ref_114112 = (ref_114110 & 0xFFFFFFFF) # MOV operation
ref_114114 = ((ref_114106 << ((ref_114112 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_114121 = ref_114114 # MOV operation
ref_114240 = ref_114121 # MOV operation
ref_114472 = ref_114240 # MOV operation
ref_114474 = ref_114472 # MOV operation

print ref_114474 & 0xffffffffffffffff
