#!/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_250 = SymVar_0
ref_261 = ref_250 # MOV operation
ref_273 = ref_261 # MOV operation
ref_275 = ref_273 # MOV operation
ref_331 = ((ref_275 >> 56) & 0xFF) # Byte reference - MOV operation
ref_332 = ((ref_275 >> 48) & 0xFF) # Byte reference - MOV operation
ref_333 = ((ref_275 >> 40) & 0xFF) # Byte reference - MOV operation
ref_334 = ((ref_275 >> 32) & 0xFF) # Byte reference - MOV operation
ref_335 = ((ref_275 >> 24) & 0xFF) # Byte reference - MOV operation
ref_336 = ((ref_275 >> 16) & 0xFF) # Byte reference - MOV operation
ref_337 = ((ref_275 >> 8) & 0xFF) # Byte reference - MOV operation
ref_338 = (ref_275 & 0xFF) # Byte reference - MOV operation
ref_28711 = ref_338 # MOVZX operation
ref_29368 = (ref_28711 & 0xFF) # MOVZX operation
ref_29370 = (ref_29368 & 0xFF) # MOVZX operation
ref_29943 = (ref_29370 & 0xFFFFFFFF) # MOV operation
ref_29945 = (((ref_29943 & 0xFFFFFFFF) + 0x1) & 0xFFFFFFFF) # ADD operation
ref_32622 = (ref_29945 & 0xFFFFFFFF) # MOV operation
ref_32633 = ((((0x0) << 32 | (ref_32622 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_32635 = (ref_32633 & 0xFFFFFFFF) # MOV operation
ref_33930 = (ref_32635 & 0xFFFFFFFF) # MOV operation
ref_36515 = (ref_33930 & 0xFFFFFFFF) # MOV operation
ref_37178 = (ref_36515 & 0xFFFFFFFF) # MOV operation
ref_37180 = (((ref_37178 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_39750 = (ref_37180 & 0xFFFFFFFF) # MOV operation
ref_39761 = ((((0x0) << 32 | (ref_39750 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_39763 = (ref_39761 & 0xFFFFFFFF) # MOV operation
ref_41070 = (ref_39763 & 0xFFFFFFFF) # MOV operation
ref_51014 = (ref_33930 & 0xFFFFFFFF) # MOV operation
ref_56846 = ref_337 # MOVZX operation
ref_57420 = (ref_56846 & 0xFF) # MOVZX operation
ref_57422 = (ref_57420 & 0xFF) # MOVZX operation
ref_58111 = (ref_51014 & 0xFFFFFFFF) # MOV operation
ref_58117 = (ref_57422 & 0xFFFFFFFF) # MOV operation
ref_58119 = (((ref_58117 & 0xFFFFFFFF) + (ref_58111 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_60708 = (ref_58119 & 0xFFFFFFFF) # MOV operation
ref_60719 = ((((0x0) << 32 | (ref_60708 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_60721 = (ref_60719 & 0xFFFFFFFF) # MOV operation
ref_62035 = (ref_60721 & 0xFFFFFFFF) # MOV operation
ref_63424 = (ref_41070 & 0xFFFFFFFF) # MOV operation
ref_64643 = (ref_62035 & 0xFFFFFFFF) # MOV operation
ref_65410 = (ref_63424 & 0xFFFFFFFF) # MOV operation
ref_65416 = (ref_64643 & 0xFFFFFFFF) # MOV operation
ref_65418 = (((ref_65416 & 0xFFFFFFFF) + (ref_65410 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_67945 = (ref_65418 & 0xFFFFFFFF) # MOV operation
ref_67956 = ((((0x0) << 32 | (ref_67945 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_67958 = (ref_67956 & 0xFFFFFFFF) # MOV operation
ref_69304 = (ref_67958 & 0xFFFFFFFF) # MOV operation
ref_79126 = (ref_62035 & 0xFFFFFFFF) # MOV operation
ref_85037 = ref_336 # MOVZX operation
ref_85659 = (ref_85037 & 0xFF) # MOVZX operation
ref_85661 = (ref_85659 & 0xFF) # MOVZX operation
ref_86309 = (ref_79126 & 0xFFFFFFFF) # MOV operation
ref_86315 = (ref_85661 & 0xFFFFFFFF) # MOV operation
ref_86317 = (((ref_86315 & 0xFFFFFFFF) + (ref_86309 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_88912 = (ref_86317 & 0xFFFFFFFF) # MOV operation
ref_88923 = ((((0x0) << 32 | (ref_88912 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_88925 = (ref_88923 & 0xFFFFFFFF) # MOV operation
ref_90206 = (ref_88925 & 0xFFFFFFFF) # MOV operation
ref_91517 = (ref_69304 & 0xFFFFFFFF) # MOV operation
ref_92874 = (ref_90206 & 0xFFFFFFFF) # MOV operation
ref_93442 = (ref_91517 & 0xFFFFFFFF) # MOV operation
ref_93448 = (ref_92874 & 0xFFFFFFFF) # MOV operation
ref_93450 = (((ref_93448 & 0xFFFFFFFF) + (ref_93442 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_96087 = (ref_93450 & 0xFFFFFFFF) # MOV operation
ref_96098 = ((((0x0) << 32 | (ref_96087 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_96100 = (ref_96098 & 0xFFFFFFFF) # MOV operation
ref_97503 = (ref_96100 & 0xFFFFFFFF) # MOV operation
ref_107294 = (ref_90206 & 0xFFFFFFFF) # MOV operation
ref_113215 = ref_335 # MOVZX operation
ref_113833 = (ref_113215 & 0xFF) # MOVZX operation
ref_113835 = (ref_113833 & 0xFF) # MOVZX operation
ref_114508 = (ref_107294 & 0xFFFFFFFF) # MOV operation
ref_114514 = (ref_113835 & 0xFFFFFFFF) # MOV operation
ref_114516 = (((ref_114514 & 0xFFFFFFFF) + (ref_114508 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_117082 = (ref_114516 & 0xFFFFFFFF) # MOV operation
ref_117093 = ((((0x0) << 32 | (ref_117082 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_117095 = (ref_117093 & 0xFFFFFFFF) # MOV operation
ref_118492 = (ref_117095 & 0xFFFFFFFF) # MOV operation
ref_119749 = (ref_97503 & 0xFFFFFFFF) # MOV operation
ref_121030 = (ref_118492 & 0xFFFFFFFF) # MOV operation
ref_121625 = (ref_119749 & 0xFFFFFFFF) # MOV operation
ref_121631 = (ref_121030 & 0xFFFFFFFF) # MOV operation
ref_121633 = (((ref_121631 & 0xFFFFFFFF) + (ref_121625 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_124225 = (ref_121633 & 0xFFFFFFFF) # MOV operation
ref_124236 = ((((0x0) << 32 | (ref_124225 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_124238 = (ref_124236 & 0xFFFFFFFF) # MOV operation
ref_125557 = (ref_124238 & 0xFFFFFFFF) # MOV operation
ref_135583 = (ref_118492 & 0xFFFFFFFF) # MOV operation
ref_141317 = ref_334 # MOVZX operation
ref_141961 = (ref_141317 & 0xFF) # MOVZX operation
ref_141963 = (ref_141961 & 0xFF) # MOVZX operation
ref_142562 = (ref_135583 & 0xFFFFFFFF) # MOV operation
ref_142568 = (ref_141963 & 0xFFFFFFFF) # MOV operation
ref_142570 = (((ref_142568 & 0xFFFFFFFF) + (ref_142562 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_145163 = (ref_142570 & 0xFFFFFFFF) # MOV operation
ref_145174 = ((((0x0) << 32 | (ref_145163 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_145176 = (ref_145174 & 0xFFFFFFFF) # MOV operation
ref_146575 = (ref_145176 & 0xFFFFFFFF) # MOV operation
ref_147938 = (ref_125557 & 0xFFFFFFFF) # MOV operation
ref_149175 = (ref_146575 & 0xFFFFFFFF) # MOV operation
ref_149791 = (ref_147938 & 0xFFFFFFFF) # MOV operation
ref_149797 = (ref_149175 & 0xFFFFFFFF) # MOV operation
ref_149799 = (((ref_149797 & 0xFFFFFFFF) + (ref_149791 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_152517 = (ref_149799 & 0xFFFFFFFF) # MOV operation
ref_152528 = ((((0x0) << 32 | (ref_152517 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_152530 = (ref_152528 & 0xFFFFFFFF) # MOV operation
ref_153798 = (ref_152530 & 0xFFFFFFFF) # MOV operation
ref_163705 = (ref_146575 & 0xFFFFFFFF) # MOV operation
ref_169627 = ref_333 # MOVZX operation
ref_170151 = (ref_169627 & 0xFF) # MOVZX operation
ref_170153 = (ref_170151 & 0xFF) # MOVZX operation
ref_170763 = (ref_163705 & 0xFFFFFFFF) # MOV operation
ref_170769 = (ref_170153 & 0xFFFFFFFF) # MOV operation
ref_170771 = (((ref_170769 & 0xFFFFFFFF) + (ref_170763 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_173264 = (ref_170771 & 0xFFFFFFFF) # MOV operation
ref_173275 = ((((0x0) << 32 | (ref_173264 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_173277 = (ref_173275 & 0xFFFFFFFF) # MOV operation
ref_174567 = (ref_173277 & 0xFFFFFFFF) # MOV operation
ref_175879 = (ref_153798 & 0xFFFFFFFF) # MOV operation
ref_177171 = (ref_174567 & 0xFFFFFFFF) # MOV operation
ref_177835 = (ref_175879 & 0xFFFFFFFF) # MOV operation
ref_177841 = (ref_177171 & 0xFFFFFFFF) # MOV operation
ref_177843 = (((ref_177841 & 0xFFFFFFFF) + (ref_177835 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_180430 = (ref_177843 & 0xFFFFFFFF) # MOV operation
ref_180441 = ((((0x0) << 32 | (ref_180430 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_180443 = (ref_180441 & 0xFFFFFFFF) # MOV operation
ref_181798 = (ref_180443 & 0xFFFFFFFF) # MOV operation
ref_191586 = (ref_174567 & 0xFFFFFFFF) # MOV operation
ref_197511 = ref_332 # MOVZX operation
ref_198126 = (ref_197511 & 0xFF) # MOVZX operation
ref_198128 = (ref_198126 & 0xFF) # MOVZX operation
ref_198792 = (ref_191586 & 0xFFFFFFFF) # MOV operation
ref_198798 = (ref_198128 & 0xFFFFFFFF) # MOV operation
ref_198800 = (((ref_198798 & 0xFFFFFFFF) + (ref_198792 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_201451 = (ref_198800 & 0xFFFFFFFF) # MOV operation
ref_201462 = ((((0x0) << 32 | (ref_201451 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_201464 = (ref_201462 & 0xFFFFFFFF) # MOV operation
ref_202771 = (ref_201464 & 0xFFFFFFFF) # MOV operation
ref_204049 = (ref_181798 & 0xFFFFFFFF) # MOV operation
ref_205371 = (ref_202771 & 0xFFFFFFFF) # MOV operation
ref_205987 = (ref_204049 & 0xFFFFFFFF) # MOV operation
ref_205993 = (ref_205371 & 0xFFFFFFFF) # MOV operation
ref_205995 = (((ref_205993 & 0xFFFFFFFF) + (ref_205987 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_208506 = (ref_205995 & 0xFFFFFFFF) # MOV operation
ref_208517 = ((((0x0) << 32 | (ref_208506 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_208519 = (ref_208517 & 0xFFFFFFFF) # MOV operation
ref_209896 = (ref_208519 & 0xFFFFFFFF) # MOV operation
ref_219898 = (ref_202771 & 0xFFFFFFFF) # MOV operation
ref_225602 = ref_331 # MOVZX operation
ref_226236 = (ref_225602 & 0xFF) # MOVZX operation
ref_226238 = (ref_226236 & 0xFF) # MOVZX operation
ref_226901 = (ref_219898 & 0xFFFFFFFF) # MOV operation
ref_226907 = (ref_226238 & 0xFFFFFFFF) # MOV operation
ref_226909 = (((ref_226907 & 0xFFFFFFFF) + (ref_226901 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_229487 = (ref_226909 & 0xFFFFFFFF) # MOV operation
ref_229498 = ((((0x0) << 32 | (ref_229487 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_229500 = (ref_229498 & 0xFFFFFFFF) # MOV operation
ref_230878 = (ref_229500 & 0xFFFFFFFF) # MOV operation
ref_232184 = (ref_209896 & 0xFFFFFFFF) # MOV operation
ref_233557 = (ref_230878 & 0xFFFFFFFF) # MOV operation
ref_234142 = (ref_232184 & 0xFFFFFFFF) # MOV operation
ref_234148 = (ref_233557 & 0xFFFFFFFF) # MOV operation
ref_234150 = (((ref_234148 & 0xFFFFFFFF) + (ref_234142 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_236829 = (ref_234150 & 0xFFFFFFFF) # MOV operation
ref_236840 = ((((0x0) << 32 | (ref_236829 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_236842 = (ref_236840 & 0xFFFFFFFF) # MOV operation
ref_238096 = (ref_236842 & 0xFFFFFFFF) # MOV operation
ref_249246 = (ref_230878 & 0xFFFFFFFF) # MOV operation
ref_250625 = (ref_238096 & 0xFFFFFFFF) # MOV operation
ref_251818 = (ref_250625 & 0xFFFFFFFF) # MOV operation
ref_251828 = (((ref_251818 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_251835 = (ref_251828 & 0xFFFFFFFF) # MOV operation
ref_252587 = (ref_251835 & 0xFFFFFFFF) # MOV operation
ref_252601 = (ref_249246 & 0xFFFFFFFF) # MOV operation
ref_252603 = ((ref_252601 & 0xFFFFFFFF) | (ref_252587 & 0xFFFFFFFF)) # OR operation
ref_253931 = (ref_252603 & 0xFFFFFFFF) # MOV operation
ref_255849 = (ref_253931 & 0xFFFFFFFF) # MOV operation
ref_256479 = (ref_255849 & 0xFFFFFFFF) # MOV operation
ref_256516 = (ref_256479 & 0xFFFFFFFF) # MOV operation
ref_256524 = (ref_256516 & 0xFFFFFFFF) # MOV operation
ref_256526 = (ref_256524 & 0xFFFFFFFF) # MOV operation

print ref_256526 & 0xffffffffffffffff
