#!/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_76100 = ref_279 # MOV operation
ref_76375 = ref_76100 # MOV operation
ref_76383 = (ref_76375 >> (0x7 & 0x3F)) # SHR operation
ref_76390 = ref_76383 # MOV operation
ref_77672 = ref_279 # MOV operation
ref_77781 = ref_77672 # MOV operation
ref_77795 = ((ref_77781 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_77901 = ref_76390 # MOV operation
ref_77905 = ref_77795 # MOV operation
ref_77907 = (ref_77905 | ref_77901) # OR operation
ref_79120 = ref_77907 # MOV operation
ref_80496 = ref_79120 # MOV operation
ref_80563 = ref_80496 # MOV operation
ref_80565 = ((ref_80563 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_80870 = ref_80565 # MOV operation
ref_80872 = (ref_80870 & 0x1D5ABF66) # AND operation
ref_82001 = ref_279 # MOV operation
ref_82276 = ref_82001 # MOV operation
ref_82284 = (ref_82276 >> (0xB & 0x3F)) # SHR operation
ref_82291 = ref_82284 # MOV operation
ref_83573 = ref_279 # MOV operation
ref_83682 = ref_83573 # MOV operation
ref_83696 = ((ref_83682 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_83802 = ref_82291 # MOV operation
ref_83806 = ref_83696 # MOV operation
ref_83808 = (ref_83806 | ref_83802) # OR operation
ref_83906 = ref_83808 # MOV operation
ref_83918 = ref_80872 # MOV operation
ref_83920 = ((ref_83906 - ref_83918) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_83928 = ref_83920 # MOV operation
ref_85136 = ref_83928 # MOV operation
ref_86418 = ref_279 # MOV operation
ref_86491 = ref_86418 # MOV operation
ref_86505 = ((ref_86491 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_86513 = ref_86505 # MOV operation
ref_87721 = ref_86513 # MOV operation
ref_88939 = ref_79120 # MOV operation
ref_89160 = ref_88939 # MOV operation
ref_89166 = ((0x20453EE3 + ref_89160) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_90296 = ref_279 # MOV operation
ref_90369 = ref_90296 # MOV operation
ref_90381 = ref_89166 # MOV operation
ref_90383 = ((ref_90369 - ref_90381) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_90391 = ref_90383 # MOV operation
ref_91599 = ref_90391 # MOV operation
ref_94184 = ref_79120 # MOV operation
ref_96063 = ref_87721 # MOV operation
ref_97373 = ref_79120 # MOV operation
ref_97454 = ref_96063 # MOV operation
ref_97458 = ref_97373 # MOV operation
ref_97460 = (ref_97458 | ref_97454) # OR operation
ref_97594 = ref_97460 # MOV operation
ref_97608 = (0x3F & ref_97594) # AND operation
ref_97742 = ref_97608 # MOV operation
ref_97756 = ((ref_97742 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_97862 = ref_94184 # MOV operation
ref_97866 = ref_97756 # MOV operation
ref_97868 = (ref_97866 | ref_97862) # OR operation
ref_99193 = ref_97868 # MOV operation
ref_100411 = ref_85136 # MOV operation
ref_101879 = ref_99193 # MOV operation
ref_102154 = ref_101879 # MOV operation
ref_102162 = (ref_102154 >> (0x1 & 0x3F)) # SHR operation
ref_102169 = ref_102162 # MOV operation
ref_102298 = ref_102169 # MOV operation
ref_102312 = (0xF & ref_102298) # AND operation
ref_102576 = ref_102312 # MOV operation
ref_102582 = (0x1 | ref_102576) # OR operation
ref_102724 = ref_100411 # MOV operation
ref_102728 = ref_102582 # MOV operation
ref_102730 = (ref_102728 & 0xFFFFFFFF) # MOV operation
ref_102732 = (ref_102724 >> ((ref_102730 & 0xFF) & 0x3F)) # SHR operation
ref_102739 = ref_102732 # MOV operation
ref_104227 = ref_99193 # MOV operation
ref_104502 = ref_104227 # MOV operation
ref_104510 = (ref_104502 >> (0x1 & 0x3F)) # SHR operation
ref_104517 = ref_104510 # MOV operation
ref_104646 = ref_104517 # MOV operation
ref_104660 = (0xF & ref_104646) # AND operation
ref_104924 = ref_104660 # MOV operation
ref_104930 = (0x1 | ref_104924) # OR operation
ref_105198 = ref_104930 # MOV operation
ref_105200 = ((0x40 - ref_105198) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_105208 = ref_105200 # MOV operation
ref_106426 = ref_85136 # MOV operation
ref_106535 = ref_106426 # MOV operation
ref_106547 = ref_105208 # MOV operation
ref_106549 = ((ref_106535 << ((ref_106547 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_106655 = ref_102739 # MOV operation
ref_106659 = ref_106549 # MOV operation
ref_106661 = (ref_106659 | ref_106655) # OR operation
ref_108239 = ref_106661 # MOV operation
ref_109457 = ref_91599 # MOV operation
ref_111020 = ref_108239 # MOV operation
ref_111093 = ref_111020 # MOV operation
ref_111105 = ref_109457 # MOV operation
ref_111107 = ((ref_111093 - ref_111105) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_111115 = ref_111107 # MOV operation
ref_112323 = ref_111115 # MOV operation
ref_115510 = ref_112323 # MOV operation
ref_116708 = ref_91599 # MOV operation
ref_116789 = ref_115510 # MOV operation
ref_116793 = ref_116708 # MOV operation
ref_116795 = (ref_116793 | ref_116789) # OR operation
ref_117095 = ref_116795 # MOV operation
ref_117103 = (ref_117095 >> (0x1 & 0x3F)) # SHR operation
ref_117110 = ref_117103 # MOV operation
ref_117239 = ref_117110 # MOV operation
ref_117253 = (0x7 & ref_117239) # AND operation
ref_117517 = ref_117253 # MOV operation
ref_117523 = (0x1 | ref_117517) # OR operation
ref_118746 = ref_99193 # MOV operation
ref_120102 = ref_85136 # MOV operation
ref_120211 = ref_120102 # MOV operation
ref_120225 = (0xF & ref_120211) # AND operation
ref_120489 = ref_120225 # MOV operation
ref_120495 = (0x1 | ref_120489) # OR operation
ref_120637 = ref_118746 # MOV operation
ref_120641 = ref_120495 # MOV operation
ref_120643 = (ref_120641 & 0xFFFFFFFF) # MOV operation
ref_120645 = (ref_120637 >> ((ref_120643 & 0xFF) & 0x3F)) # SHR operation
ref_120652 = ref_120645 # MOV operation
ref_122028 = ref_85136 # MOV operation
ref_122137 = ref_122028 # MOV operation
ref_122151 = (0xF & ref_122137) # AND operation
ref_122415 = ref_122151 # MOV operation
ref_122421 = (0x1 | ref_122415) # OR operation
ref_122689 = ref_122421 # MOV operation
ref_122691 = ((0x40 - ref_122689) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_122699 = ref_122691 # MOV operation
ref_123917 = ref_99193 # MOV operation
ref_124026 = ref_123917 # MOV operation
ref_124038 = ref_122699 # MOV operation
ref_124040 = ((ref_124026 << ((ref_124038 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_124146 = ref_120652 # MOV operation
ref_124150 = ref_124040 # MOV operation
ref_124152 = (ref_124150 | ref_124146) # OR operation
ref_124286 = ref_124152 # MOV operation
ref_124298 = ref_117523 # MOV operation
ref_124300 = ((ref_124286 << ((ref_124298 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_125428 = ref_124300 # MOV operation
ref_125696 = ref_125428 # MOV operation
ref_125698 = ref_125696 # MOV operation

print ref_125698 & 0xffffffffffffffff
