#!/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_8507 = ref_279 # MOV operation
ref_8902 = ref_8507 # MOV operation
ref_8920 = (ref_8902 >> (0x7 & 0x3F)) # SHR operation
ref_8927 = ref_8920 # MOV operation
ref_13029 = ref_279 # MOV operation
ref_13442 = ref_13029 # MOV operation
ref_13460 = ((ref_13442 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_13467 = ref_13460 # MOV operation
ref_13938 = ref_8927 # MOV operation
ref_13944 = ref_13467 # MOV operation
ref_13946 = (ref_13944 | ref_13938) # OR operation
ref_17486 = ref_13946 # MOV operation
ref_21447 = ref_279 # MOV operation
ref_21892 = ref_21447 # MOV operation
ref_21910 = (ref_21892 >> (0xB & 0x3F)) # SHR operation
ref_21917 = ref_21910 # MOV operation
ref_25899 = ref_279 # MOV operation
ref_26276 = ref_25899 # MOV operation
ref_26294 = ((ref_26276 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_26301 = ref_26294 # MOV operation
ref_26750 = ref_21917 # MOV operation
ref_26756 = ref_26301 # MOV operation
ref_26758 = (ref_26756 | ref_26750) # OR operation
ref_30833 = ref_17486 # MOV operation
ref_31260 = ref_30833 # MOV operation
ref_31262 = ((ref_31260 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_32191 = ref_31262 # MOV operation
ref_32193 = (ref_32191 & 0x1D5ABF66) # AND operation
ref_32697 = ref_26758 # MOV operation
ref_32703 = ref_32193 # MOV operation
ref_32705 = ((ref_32697 - ref_32703) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_32713 = ref_32705 # MOV operation
ref_36274 = ref_32713 # MOV operation
ref_39719 = ref_279 # MOV operation
ref_40574 = ref_39719 # MOV operation
ref_40582 = ((ref_40574 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_40590 = ref_40582 # MOV operation
ref_44332 = ref_40590 # MOV operation
ref_47811 = ref_279 # MOV operation
ref_51378 = ref_17486 # MOV operation
ref_52242 = ref_51378 # MOV operation
ref_52250 = ((0x20453EE3 + ref_52242) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_52737 = ref_47811 # MOV operation
ref_52743 = ref_52250 # MOV operation
ref_52745 = ((ref_52737 - ref_52743) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_52753 = ref_52745 # MOV operation
ref_56333 = ref_52753 # MOV operation
ref_64404 = ref_17486 # MOV operation
ref_70277 = ref_44332 # MOV operation
ref_74194 = ref_17486 # MOV operation
ref_74638 = ref_70277 # MOV operation
ref_74644 = ref_74194 # MOV operation
ref_74646 = (ref_74644 | ref_74638) # OR operation
ref_75114 = ref_74646 # MOV operation
ref_75130 = (0x3F & ref_75114) # AND operation
ref_75526 = ref_75130 # MOV operation
ref_75544 = ((ref_75526 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_75551 = ref_75544 # MOV operation
ref_76038 = ref_64404 # MOV operation
ref_76044 = ref_75551 # MOV operation
ref_76046 = (ref_76044 | ref_76038) # OR operation
ref_80100 = ref_76046 # MOV operation
ref_85015 = ref_80100 # MOV operation
ref_85428 = ref_85015 # MOV operation
ref_85446 = (ref_85428 >> (0x1 & 0x3F)) # SHR operation
ref_85453 = ref_85446 # MOV operation
ref_85812 = ref_85453 # MOV operation
ref_85828 = (0xF & ref_85812) # AND operation
ref_86766 = ref_85828 # MOV operation
ref_86774 = (0x1 | ref_86766) # OR operation
ref_90437 = ref_36274 # MOV operation
ref_90886 = ref_90437 # MOV operation
ref_90900 = ref_86774 # MOV operation
ref_90902 = (ref_90900 & 0xFFFFFFFF) # MOV operation
ref_90904 = (ref_90886 >> ((ref_90902 & 0xFF) & 0x3F)) # SHR operation
ref_90911 = ref_90904 # MOV operation
ref_96230 = ref_80100 # MOV operation
ref_96647 = ref_96230 # MOV operation
ref_96665 = (ref_96647 >> (0x1 & 0x3F)) # SHR operation
ref_96672 = ref_96665 # MOV operation
ref_97146 = ref_96672 # MOV operation
ref_97162 = (0xF & ref_97146) # AND operation
ref_98014 = ref_97162 # MOV operation
ref_98022 = (0x1 | ref_98014) # OR operation
ref_98502 = ref_98022 # MOV operation
ref_98504 = ((0x40 - ref_98502) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_98512 = ref_98504 # MOV operation
ref_102154 = ref_36274 # MOV operation
ref_102567 = ref_102154 # MOV operation
ref_102581 = ref_98512 # MOV operation
ref_102583 = (ref_102581 & 0xFFFFFFFF) # MOV operation
ref_102585 = ((ref_102567 << ((ref_102583 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_102592 = ref_102585 # MOV operation
ref_102968 = ref_90911 # MOV operation
ref_102974 = ref_102592 # MOV operation
ref_102976 = (ref_102974 | ref_102968) # OR operation
ref_107955 = ref_102976 # MOV operation
ref_112850 = ref_107955 # MOV operation
ref_116475 = ref_56333 # MOV operation
ref_116928 = ref_112850 # MOV operation
ref_116934 = ref_116475 # MOV operation
ref_116936 = ((ref_116928 - ref_116934) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_116944 = ref_116936 # MOV operation
ref_120515 = ref_116944 # MOV operation
ref_131059 = ref_120515 # MOV operation
ref_134576 = ref_56333 # MOV operation
ref_135039 = ref_131059 # MOV operation
ref_135045 = ref_134576 # MOV operation
ref_135047 = (ref_135045 | ref_135039) # OR operation
ref_135481 = ref_135047 # MOV operation
ref_135499 = (ref_135481 >> (0x1 & 0x3F)) # SHR operation
ref_135506 = ref_135499 # MOV operation
ref_135965 = ref_135506 # MOV operation
ref_135981 = (0x7 & ref_135965) # AND operation
ref_136872 = ref_135981 # MOV operation
ref_136880 = (0x1 | ref_136872) # OR operation
ref_140864 = ref_36274 # MOV operation
ref_141285 = ref_140864 # MOV operation
ref_141301 = (0xF & ref_141285) # AND operation
ref_142228 = ref_141301 # MOV operation
ref_142236 = (0x1 | ref_142228) # OR operation
ref_145803 = ref_80100 # MOV operation
ref_146146 = ref_145803 # MOV operation
ref_146160 = ref_142236 # MOV operation
ref_146162 = (ref_146160 & 0xFFFFFFFF) # MOV operation
ref_146164 = (ref_146146 >> ((ref_146162 & 0xFF) & 0x3F)) # SHR operation
ref_146171 = ref_146164 # MOV operation
ref_150782 = ref_36274 # MOV operation
ref_151161 = ref_150782 # MOV operation
ref_151177 = (0xF & ref_151161) # AND operation
ref_152036 = ref_151177 # MOV operation
ref_152044 = (0x1 | ref_152036) # OR operation
ref_152472 = ref_152044 # MOV operation
ref_152474 = ((0x40 - ref_152472) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_152482 = ref_152474 # MOV operation
ref_156014 = ref_80100 # MOV operation
ref_156465 = ref_156014 # MOV operation
ref_156479 = ref_152482 # MOV operation
ref_156481 = (ref_156479 & 0xFFFFFFFF) # MOV operation
ref_156483 = ((ref_156465 << ((ref_156481 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_156490 = ref_156483 # MOV operation
ref_156853 = ref_146171 # MOV operation
ref_156859 = ref_156490 # MOV operation
ref_156861 = (ref_156859 | ref_156853) # OR operation
ref_157335 = ref_156861 # MOV operation
ref_157349 = ref_136880 # MOV operation
ref_157351 = (ref_157349 & 0xFFFFFFFF) # MOV operation
ref_157353 = ((ref_157335 << ((ref_157351 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_157360 = ref_157353 # MOV operation
ref_160868 = ref_157360 # MOV operation
ref_161806 = ref_160868 # MOV operation
ref_161808 = ref_161806 # MOV operation

print ref_161808 & 0xffffffffffffffff
