#!/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_309 = ((ref_275 >> 56) & 0xFF) # Byte reference - MOV operation
ref_310 = ((ref_275 >> 48) & 0xFF) # Byte reference - MOV operation
ref_311 = ((ref_275 >> 40) & 0xFF) # Byte reference - MOV operation
ref_312 = ((ref_275 >> 32) & 0xFF) # Byte reference - MOV operation
ref_313 = ((ref_275 >> 24) & 0xFF) # Byte reference - MOV operation
ref_314 = ((ref_275 >> 16) & 0xFF) # Byte reference - MOV operation
ref_315 = ((ref_275 >> 8) & 0xFF) # Byte reference - MOV operation
ref_316 = (ref_275 & 0xFF) # Byte reference - MOV operation
ref_35224 = ref_316 # MOVZX operation
ref_35485 = (ref_35224 & 0xFF) # MOVZX operation
ref_35487 = (ref_35485 & 0xFF) # MOVZX operation
ref_38056 = (ref_35487 & 0xFFFFFFFF) # MOV operation
ref_38058 = (((ref_38056 & 0xFFFFFFFF) + 0x1) & 0xFFFFFFFF) # ADD operation
ref_42113 = (ref_38058 & 0xFFFFFFFF) # MOV operation
ref_42122 = ((((0x0) << 32 | (ref_42113 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_42124 = (ref_42122 & 0xFFFFFFFF) # MOV operation
ref_43469 = (ref_42124 & 0xFFFFFFFF) # MOV operation
ref_45702 = (ref_43469 & 0xFFFFFFFF) # MOV operation
ref_48271 = (ref_45702 & 0xFFFFFFFF) # MOV operation
ref_48273 = (((ref_48271 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_52328 = (ref_48273 & 0xFFFFFFFF) # MOV operation
ref_52337 = ((((0x0) << 32 | (ref_52328 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_52339 = (ref_52337 & 0xFFFFFFFF) # MOV operation
ref_53684 = (ref_52339 & 0xFFFFFFFF) # MOV operation
ref_75008 = ref_315 # MOVZX operation
ref_75269 = (ref_75008 & 0xFF) # MOVZX operation
ref_75271 = (ref_75269 & 0xFF) # MOVZX operation
ref_76711 = (ref_43469 & 0xFFFFFFFF) # MOV operation
ref_77828 = (ref_76711 & 0xFFFFFFFF) # MOV operation
ref_77840 = (ref_75271 & 0xFFFFFFFF) # MOV operation
ref_77842 = (((ref_77840 & 0xFFFFFFFF) + (ref_77828 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_81897 = (ref_77842 & 0xFFFFFFFF) # MOV operation
ref_81906 = ((((0x0) << 32 | (ref_81897 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_81908 = (ref_81906 & 0xFFFFFFFF) # MOV operation
ref_83253 = (ref_81908 & 0xFFFFFFFF) # MOV operation
ref_85486 = (ref_83253 & 0xFFFFFFFF) # MOV operation
ref_86926 = (ref_53684 & 0xFFFFFFFF) # MOV operation
ref_88043 = (ref_86926 & 0xFFFFFFFF) # MOV operation
ref_88055 = (ref_85486 & 0xFFFFFFFF) # MOV operation
ref_88057 = (((ref_88055 & 0xFFFFFFFF) + (ref_88043 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_92112 = (ref_88057 & 0xFFFFFFFF) # MOV operation
ref_92121 = ((((0x0) << 32 | (ref_92112 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_92123 = (ref_92121 & 0xFFFFFFFF) # MOV operation
ref_93468 = (ref_92123 & 0xFFFFFFFF) # MOV operation
ref_114792 = ref_314 # MOVZX operation
ref_115053 = (ref_114792 & 0xFF) # MOVZX operation
ref_115055 = (ref_115053 & 0xFF) # MOVZX operation
ref_116495 = (ref_83253 & 0xFFFFFFFF) # MOV operation
ref_117612 = (ref_116495 & 0xFFFFFFFF) # MOV operation
ref_117624 = (ref_115055 & 0xFFFFFFFF) # MOV operation
ref_117626 = (((ref_117624 & 0xFFFFFFFF) + (ref_117612 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_121681 = (ref_117626 & 0xFFFFFFFF) # MOV operation
ref_121690 = ((((0x0) << 32 | (ref_121681 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_121692 = (ref_121690 & 0xFFFFFFFF) # MOV operation
ref_123037 = (ref_121692 & 0xFFFFFFFF) # MOV operation
ref_125270 = (ref_123037 & 0xFFFFFFFF) # MOV operation
ref_126710 = (ref_93468 & 0xFFFFFFFF) # MOV operation
ref_127827 = (ref_126710 & 0xFFFFFFFF) # MOV operation
ref_127839 = (ref_125270 & 0xFFFFFFFF) # MOV operation
ref_127841 = (((ref_127839 & 0xFFFFFFFF) + (ref_127827 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_131896 = (ref_127841 & 0xFFFFFFFF) # MOV operation
ref_131905 = ((((0x0) << 32 | (ref_131896 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_131907 = (ref_131905 & 0xFFFFFFFF) # MOV operation
ref_133252 = (ref_131907 & 0xFFFFFFFF) # MOV operation
ref_154576 = ref_313 # MOVZX operation
ref_154837 = (ref_154576 & 0xFF) # MOVZX operation
ref_154839 = (ref_154837 & 0xFF) # MOVZX operation
ref_156279 = (ref_123037 & 0xFFFFFFFF) # MOV operation
ref_157396 = (ref_156279 & 0xFFFFFFFF) # MOV operation
ref_157408 = (ref_154839 & 0xFFFFFFFF) # MOV operation
ref_157410 = (((ref_157408 & 0xFFFFFFFF) + (ref_157396 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_161465 = (ref_157410 & 0xFFFFFFFF) # MOV operation
ref_161474 = ((((0x0) << 32 | (ref_161465 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_161476 = (ref_161474 & 0xFFFFFFFF) # MOV operation
ref_162821 = (ref_161476 & 0xFFFFFFFF) # MOV operation
ref_165054 = (ref_162821 & 0xFFFFFFFF) # MOV operation
ref_166494 = (ref_133252 & 0xFFFFFFFF) # MOV operation
ref_167611 = (ref_166494 & 0xFFFFFFFF) # MOV operation
ref_167623 = (ref_165054 & 0xFFFFFFFF) # MOV operation
ref_167625 = (((ref_167623 & 0xFFFFFFFF) + (ref_167611 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_171680 = (ref_167625 & 0xFFFFFFFF) # MOV operation
ref_171689 = ((((0x0) << 32 | (ref_171680 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_171691 = (ref_171689 & 0xFFFFFFFF) # MOV operation
ref_173036 = (ref_171691 & 0xFFFFFFFF) # MOV operation
ref_194360 = ref_312 # MOVZX operation
ref_194621 = (ref_194360 & 0xFF) # MOVZX operation
ref_194623 = (ref_194621 & 0xFF) # MOVZX operation
ref_196063 = (ref_162821 & 0xFFFFFFFF) # MOV operation
ref_197180 = (ref_196063 & 0xFFFFFFFF) # MOV operation
ref_197192 = (ref_194623 & 0xFFFFFFFF) # MOV operation
ref_197194 = (((ref_197192 & 0xFFFFFFFF) + (ref_197180 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_201249 = (ref_197194 & 0xFFFFFFFF) # MOV operation
ref_201258 = ((((0x0) << 32 | (ref_201249 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_201260 = (ref_201258 & 0xFFFFFFFF) # MOV operation
ref_202605 = (ref_201260 & 0xFFFFFFFF) # MOV operation
ref_204838 = (ref_202605 & 0xFFFFFFFF) # MOV operation
ref_206278 = (ref_173036 & 0xFFFFFFFF) # MOV operation
ref_207395 = (ref_206278 & 0xFFFFFFFF) # MOV operation
ref_207407 = (ref_204838 & 0xFFFFFFFF) # MOV operation
ref_207409 = (((ref_207407 & 0xFFFFFFFF) + (ref_207395 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_211464 = (ref_207409 & 0xFFFFFFFF) # MOV operation
ref_211473 = ((((0x0) << 32 | (ref_211464 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_211475 = (ref_211473 & 0xFFFFFFFF) # MOV operation
ref_212820 = (ref_211475 & 0xFFFFFFFF) # MOV operation
ref_234144 = ref_311 # MOVZX operation
ref_234405 = (ref_234144 & 0xFF) # MOVZX operation
ref_234407 = (ref_234405 & 0xFF) # MOVZX operation
ref_235847 = (ref_202605 & 0xFFFFFFFF) # MOV operation
ref_236964 = (ref_235847 & 0xFFFFFFFF) # MOV operation
ref_236976 = (ref_234407 & 0xFFFFFFFF) # MOV operation
ref_236978 = (((ref_236976 & 0xFFFFFFFF) + (ref_236964 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_241033 = (ref_236978 & 0xFFFFFFFF) # MOV operation
ref_241042 = ((((0x0) << 32 | (ref_241033 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_241044 = (ref_241042 & 0xFFFFFFFF) # MOV operation
ref_242389 = (ref_241044 & 0xFFFFFFFF) # MOV operation
ref_244622 = (ref_242389 & 0xFFFFFFFF) # MOV operation
ref_246062 = (ref_212820 & 0xFFFFFFFF) # MOV operation
ref_247179 = (ref_246062 & 0xFFFFFFFF) # MOV operation
ref_247191 = (ref_244622 & 0xFFFFFFFF) # MOV operation
ref_247193 = (((ref_247191 & 0xFFFFFFFF) + (ref_247179 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_251248 = (ref_247193 & 0xFFFFFFFF) # MOV operation
ref_251257 = ((((0x0) << 32 | (ref_251248 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_251259 = (ref_251257 & 0xFFFFFFFF) # MOV operation
ref_252604 = (ref_251259 & 0xFFFFFFFF) # MOV operation
ref_273928 = ref_310 # MOVZX operation
ref_274189 = (ref_273928 & 0xFF) # MOVZX operation
ref_274191 = (ref_274189 & 0xFF) # MOVZX operation
ref_275631 = (ref_242389 & 0xFFFFFFFF) # MOV operation
ref_276748 = (ref_275631 & 0xFFFFFFFF) # MOV operation
ref_276760 = (ref_274191 & 0xFFFFFFFF) # MOV operation
ref_276762 = (((ref_276760 & 0xFFFFFFFF) + (ref_276748 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_280817 = (ref_276762 & 0xFFFFFFFF) # MOV operation
ref_280826 = ((((0x0) << 32 | (ref_280817 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_280828 = (ref_280826 & 0xFFFFFFFF) # MOV operation
ref_282173 = (ref_280828 & 0xFFFFFFFF) # MOV operation
ref_284406 = (ref_282173 & 0xFFFFFFFF) # MOV operation
ref_285846 = (ref_252604 & 0xFFFFFFFF) # MOV operation
ref_286963 = (ref_285846 & 0xFFFFFFFF) # MOV operation
ref_286975 = (ref_284406 & 0xFFFFFFFF) # MOV operation
ref_286977 = (((ref_286975 & 0xFFFFFFFF) + (ref_286963 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_291032 = (ref_286977 & 0xFFFFFFFF) # MOV operation
ref_291041 = ((((0x0) << 32 | (ref_291032 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_291043 = (ref_291041 & 0xFFFFFFFF) # MOV operation
ref_292388 = (ref_291043 & 0xFFFFFFFF) # MOV operation
ref_313712 = ref_309 # MOVZX operation
ref_313973 = (ref_313712 & 0xFF) # MOVZX operation
ref_313975 = (ref_313973 & 0xFF) # MOVZX operation
ref_315415 = (ref_282173 & 0xFFFFFFFF) # MOV operation
ref_316532 = (ref_315415 & 0xFFFFFFFF) # MOV operation
ref_316544 = (ref_313975 & 0xFFFFFFFF) # MOV operation
ref_316546 = (((ref_316544 & 0xFFFFFFFF) + (ref_316532 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_320601 = (ref_316546 & 0xFFFFFFFF) # MOV operation
ref_320610 = ((((0x0) << 32 | (ref_320601 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_320612 = (ref_320610 & 0xFFFFFFFF) # MOV operation
ref_321957 = (ref_320612 & 0xFFFFFFFF) # MOV operation
ref_324190 = (ref_321957 & 0xFFFFFFFF) # MOV operation
ref_325630 = (ref_292388 & 0xFFFFFFFF) # MOV operation
ref_326747 = (ref_325630 & 0xFFFFFFFF) # MOV operation
ref_326759 = (ref_324190 & 0xFFFFFFFF) # MOV operation
ref_326761 = (((ref_326759 & 0xFFFFFFFF) + (ref_326747 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_330816 = (ref_326761 & 0xFFFFFFFF) # MOV operation
ref_330825 = ((((0x0) << 32 | (ref_330816 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_330827 = (ref_330825 & 0xFFFFFFFF) # MOV operation
ref_332172 = (ref_330827 & 0xFFFFFFFF) # MOV operation
ref_349584 = (ref_332172 & 0xFFFFFFFF) # MOV operation
ref_350216 = (ref_349584 & 0xFFFFFFFF) # MOV operation
ref_350224 = (((ref_350216 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_350231 = (ref_350224 & 0xFFFFFFFF) # MOV operation
ref_351691 = (ref_321957 & 0xFFFFFFFF) # MOV operation
ref_351916 = (ref_350231 & 0xFFFFFFFF) # MOV operation
ref_351920 = (ref_351691 & 0xFFFFFFFF) # MOV operation
ref_351922 = ((ref_351920 & 0xFFFFFFFF) | (ref_351916 & 0xFFFFFFFF)) # OR operation
ref_353272 = (ref_351922 & 0xFFFFFFFF) # MOV operation
ref_355611 = (ref_353272 & 0xFFFFFFFF) # MOV operation
ref_356974 = (ref_355611 & 0xFFFFFFFF) # MOV operation
ref_356998 = (ref_356974 & 0xFFFFFFFF) # MOV operation
ref_357006 = (ref_356998 & 0xFFFFFFFF) # MOV operation
ref_357008 = (ref_357006 & 0xFFFFFFFF) # MOV operation

print ref_357008 & 0xffffffffffffffff
