#!/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_70665 = ref_278 # MOV operation
ref_70940 = ref_70665 # MOV operation
ref_70948 = (ref_70940 >> (0x7 & 0x3F)) # SHR operation
ref_70955 = ref_70948 # MOV operation
ref_72237 = ref_278 # MOV operation
ref_72346 = ref_72237 # MOV operation
ref_72360 = ((ref_72346 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_72466 = ref_70955 # MOV operation
ref_72470 = ref_72360 # MOV operation
ref_72472 = (ref_72470 | ref_72466) # OR operation
ref_73685 = ref_72472 # MOV operation
ref_75061 = ref_73685 # MOV operation
ref_75128 = ref_75061 # MOV operation
ref_75130 = ((ref_75128 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_75435 = ref_75130 # MOV operation
ref_75437 = (ref_75435 & 0x1D5ABF66) # AND operation
ref_76566 = ref_278 # MOV operation
ref_76841 = ref_76566 # MOV operation
ref_76849 = (ref_76841 >> (0xB & 0x3F)) # SHR operation
ref_76856 = ref_76849 # MOV operation
ref_78138 = ref_278 # MOV operation
ref_78247 = ref_78138 # MOV operation
ref_78261 = ((ref_78247 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_78367 = ref_76856 # MOV operation
ref_78371 = ref_78261 # MOV operation
ref_78373 = (ref_78371 | ref_78367) # OR operation
ref_78471 = ref_78373 # MOV operation
ref_78483 = ref_75437 # MOV operation
ref_78485 = ((ref_78471 - ref_78483) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_78493 = ref_78485 # MOV operation
ref_79701 = ref_78493 # MOV operation
ref_80983 = ref_278 # MOV operation
ref_81056 = ref_80983 # MOV operation
ref_81070 = ((ref_81056 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_81078 = ref_81070 # MOV operation
ref_82286 = ref_81078 # MOV operation
ref_83504 = ref_73685 # MOV operation
ref_83725 = ref_83504 # MOV operation
ref_83731 = ((0x20453EE3 + ref_83725) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_84861 = ref_278 # MOV operation
ref_84934 = ref_84861 # MOV operation
ref_84946 = ref_83731 # MOV operation
ref_84948 = ((ref_84934 - ref_84946) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_84956 = ref_84948 # MOV operation
ref_86164 = ref_84956 # MOV operation
ref_88749 = ref_73685 # MOV operation
ref_90628 = ref_82286 # MOV operation
ref_91938 = ref_73685 # MOV operation
ref_92019 = ref_90628 # MOV operation
ref_92023 = ref_91938 # MOV operation
ref_92025 = (ref_92023 | ref_92019) # OR operation
ref_92159 = ref_92025 # MOV operation
ref_92173 = (0x3F & ref_92159) # AND operation
ref_92307 = ref_92173 # MOV operation
ref_92321 = ((ref_92307 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_92427 = ref_88749 # MOV operation
ref_92431 = ref_92321 # MOV operation
ref_92433 = (ref_92431 | ref_92427) # OR operation
ref_93758 = ref_92433 # MOV operation
ref_94976 = ref_79701 # MOV operation
ref_96444 = ref_93758 # MOV operation
ref_96719 = ref_96444 # MOV operation
ref_96727 = (ref_96719 >> (0x1 & 0x3F)) # SHR operation
ref_96734 = ref_96727 # MOV operation
ref_96863 = ref_96734 # MOV operation
ref_96877 = (0xF & ref_96863) # AND operation
ref_97141 = ref_96877 # MOV operation
ref_97147 = (0x1 | ref_97141) # OR operation
ref_97289 = ref_94976 # MOV operation
ref_97293 = ref_97147 # MOV operation
ref_97295 = (ref_97293 & 0xFFFFFFFF) # MOV operation
ref_97297 = (ref_97289 >> ((ref_97295 & 0xFF) & 0x3F)) # SHR operation
ref_97304 = ref_97297 # MOV operation
ref_98792 = ref_93758 # MOV operation
ref_99067 = ref_98792 # MOV operation
ref_99075 = (ref_99067 >> (0x1 & 0x3F)) # SHR operation
ref_99082 = ref_99075 # MOV operation
ref_99211 = ref_99082 # MOV operation
ref_99225 = (0xF & ref_99211) # AND operation
ref_99489 = ref_99225 # MOV operation
ref_99495 = (0x1 | ref_99489) # OR operation
ref_99763 = ref_99495 # MOV operation
ref_99765 = ((0x40 - ref_99763) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_99773 = ref_99765 # MOV operation
ref_100991 = ref_79701 # MOV operation
ref_101100 = ref_100991 # MOV operation
ref_101112 = ref_99773 # MOV operation
ref_101114 = ((ref_101100 << ((ref_101112 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_101220 = ref_97304 # MOV operation
ref_101224 = ref_101114 # MOV operation
ref_101226 = (ref_101224 | ref_101220) # OR operation
ref_102804 = ref_101226 # MOV operation
ref_104022 = ref_86164 # MOV operation
ref_105585 = ref_102804 # MOV operation
ref_105658 = ref_105585 # MOV operation
ref_105670 = ref_104022 # MOV operation
ref_105672 = ((ref_105658 - ref_105670) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_105680 = ref_105672 # MOV operation
ref_106888 = ref_105680 # MOV operation
ref_110075 = ref_106888 # MOV operation
ref_111273 = ref_86164 # MOV operation
ref_111354 = ref_110075 # MOV operation
ref_111358 = ref_111273 # MOV operation
ref_111360 = (ref_111358 | ref_111354) # OR operation
ref_111660 = ref_111360 # MOV operation
ref_111668 = (ref_111660 >> (0x1 & 0x3F)) # SHR operation
ref_111675 = ref_111668 # MOV operation
ref_111804 = ref_111675 # MOV operation
ref_111818 = (0x7 & ref_111804) # AND operation
ref_112082 = ref_111818 # MOV operation
ref_112088 = (0x1 | ref_112082) # OR operation
ref_113311 = ref_93758 # MOV operation
ref_114667 = ref_79701 # MOV operation
ref_114776 = ref_114667 # MOV operation
ref_114790 = (0xF & ref_114776) # AND operation
ref_115054 = ref_114790 # MOV operation
ref_115060 = (0x1 | ref_115054) # OR operation
ref_115202 = ref_113311 # MOV operation
ref_115206 = ref_115060 # MOV operation
ref_115208 = (ref_115206 & 0xFFFFFFFF) # MOV operation
ref_115210 = (ref_115202 >> ((ref_115208 & 0xFF) & 0x3F)) # SHR operation
ref_115217 = ref_115210 # MOV operation
ref_116593 = ref_79701 # MOV operation
ref_116702 = ref_116593 # MOV operation
ref_116716 = (0xF & ref_116702) # AND operation
ref_116980 = ref_116716 # MOV operation
ref_116986 = (0x1 | ref_116980) # OR operation
ref_117254 = ref_116986 # MOV operation
ref_117256 = ((0x40 - ref_117254) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_117264 = ref_117256 # MOV operation
ref_118482 = ref_93758 # MOV operation
ref_118591 = ref_118482 # MOV operation
ref_118603 = ref_117264 # MOV operation
ref_118605 = ((ref_118591 << ((ref_118603 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_118711 = ref_115217 # MOV operation
ref_118715 = ref_118605 # MOV operation
ref_118717 = (ref_118715 | ref_118711) # OR operation
ref_118851 = ref_118717 # MOV operation
ref_118863 = ref_112088 # MOV operation
ref_118865 = ((ref_118851 << ((ref_118863 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_119993 = ref_118865 # MOV operation
ref_120261 = ref_119993 # MOV operation
ref_120263 = ref_120261 # MOV operation

print ref_120263 & 0xffffffffffffffff
