#!/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_145466 = ref_278 # MOV operation
ref_145542 = ref_145466 # MOV operation
ref_145556 = ((ref_145542 - 0x35CEDE6D) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_145564 = ref_145556 # MOV operation
ref_146490 = ref_145564 # MOV operation
ref_147323 = ref_278 # MOV operation
ref_147523 = ref_147323 # MOV operation
ref_147531 = ((((0x0) << 64 | ref_147523) / 0x7) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_148458 = ref_147531 # MOV operation
ref_149291 = ref_278 # MOV operation
ref_150537 = ref_148458 # MOV operation
ref_150737 = ref_150537 # MOV operation
ref_150745 = (ref_150737 >> (0x3 & 0x3F)) # SHR operation
ref_150752 = ref_150745 # MOV operation
ref_150972 = ref_150752 # MOV operation
ref_150978 = (0xF & ref_150972) # AND operation
ref_151079 = ref_150978 # MOV operation
ref_151093 = (0x1 | ref_151079) # OR operation
ref_151322 = ref_151093 # MOV operation
ref_151324 = ((0x40 - ref_151322) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_151332 = ref_151324 # MOV operation
ref_151440 = ref_151332 # MOV operation
ref_151442 = (ref_151440 & 0xFFFFFFFF) # MOV operation
ref_151444 = (0x7A11169 >> ((ref_151442 & 0xFF) & 0x3F)) # SHR operation
ref_151451 = ref_151444 # MOV operation
ref_152601 = ref_148458 # MOV operation
ref_152801 = ref_152601 # MOV operation
ref_152809 = (ref_152801 >> (0x3 & 0x3F)) # SHR operation
ref_152816 = ref_152809 # MOV operation
ref_153036 = ref_152816 # MOV operation
ref_153042 = (0xF & ref_153036) # AND operation
ref_153143 = ref_153042 # MOV operation
ref_153157 = (0x1 | ref_153143) # OR operation
ref_153270 = ref_153157 # MOV operation
ref_153272 = (ref_153270 & 0xFFFFFFFF) # MOV operation
ref_153274 = ((0x7A11169 << ((ref_153272 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_153281 = ref_153274 # MOV operation
ref_153377 = ref_153281 # MOV operation
ref_153389 = ref_151451 # MOV operation
ref_153391 = (ref_153389 | ref_153377) # OR operation
ref_153616 = ref_153391 # MOV operation
ref_153624 = (ref_153616 >> (0x4 & 0x3F)) # SHR operation
ref_153631 = ref_153624 # MOV operation
ref_153851 = ref_153631 # MOV operation
ref_153857 = (0xF & ref_153851) # AND operation
ref_153958 = ref_153857 # MOV operation
ref_153972 = (0x1 | ref_153958) # OR operation
ref_154201 = ref_153972 # MOV operation
ref_154203 = ((0x40 - ref_154201) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_154211 = ref_154203 # MOV operation
ref_154315 = ref_149291 # MOV operation
ref_154319 = ref_154211 # MOV operation
ref_154321 = (ref_154319 & 0xFFFFFFFF) # MOV operation
ref_154323 = (ref_154315 >> ((ref_154321 & 0xFF) & 0x3F)) # SHR operation
ref_154330 = ref_154323 # MOV operation
ref_155163 = ref_278 # MOV operation
ref_156409 = ref_148458 # MOV operation
ref_156609 = ref_156409 # MOV operation
ref_156617 = (ref_156609 >> (0x3 & 0x3F)) # SHR operation
ref_156624 = ref_156617 # MOV operation
ref_156844 = ref_156624 # MOV operation
ref_156850 = (0xF & ref_156844) # AND operation
ref_156951 = ref_156850 # MOV operation
ref_156965 = (0x1 | ref_156951) # OR operation
ref_157194 = ref_156965 # MOV operation
ref_157196 = ((0x40 - ref_157194) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_157204 = ref_157196 # MOV operation
ref_157312 = ref_157204 # MOV operation
ref_157314 = (ref_157312 & 0xFFFFFFFF) # MOV operation
ref_157316 = (0x7A11169 >> ((ref_157314 & 0xFF) & 0x3F)) # SHR operation
ref_157323 = ref_157316 # MOV operation
ref_158473 = ref_148458 # MOV operation
ref_158673 = ref_158473 # MOV operation
ref_158681 = (ref_158673 >> (0x3 & 0x3F)) # SHR operation
ref_158688 = ref_158681 # MOV operation
ref_158908 = ref_158688 # MOV operation
ref_158914 = (0xF & ref_158908) # AND operation
ref_159015 = ref_158914 # MOV operation
ref_159029 = (0x1 | ref_159015) # OR operation
ref_159142 = ref_159029 # MOV operation
ref_159144 = (ref_159142 & 0xFFFFFFFF) # MOV operation
ref_159146 = ((0x7A11169 << ((ref_159144 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_159153 = ref_159146 # MOV operation
ref_159249 = ref_159153 # MOV operation
ref_159261 = ref_157323 # MOV operation
ref_159263 = (ref_159261 | ref_159249) # OR operation
ref_159488 = ref_159263 # MOV operation
ref_159496 = (ref_159488 >> (0x4 & 0x3F)) # SHR operation
ref_159503 = ref_159496 # MOV operation
ref_159723 = ref_159503 # MOV operation
ref_159729 = (0xF & ref_159723) # AND operation
ref_159830 = ref_159729 # MOV operation
ref_159844 = (0x1 | ref_159830) # OR operation
ref_159953 = ref_155163 # MOV operation
ref_159957 = ref_159844 # MOV operation
ref_159959 = (ref_159957 & 0xFFFFFFFF) # MOV operation
ref_159961 = ((ref_159953 << ((ref_159959 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_159968 = ref_159961 # MOV operation
ref_160064 = ref_159968 # MOV operation
ref_160076 = ref_154330 # MOV operation
ref_160078 = (ref_160076 | ref_160064) # OR operation
ref_161009 = ref_160078 # MOV operation
ref_161958 = ref_278 # MOV operation
ref_162034 = ref_161958 # MOV operation
ref_162048 = ((ref_162034 - 0x297EE8A1) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_162056 = ref_162048 # MOV operation
ref_162276 = ref_162056 # MOV operation
ref_162282 = (((sx(0x40, 0x1471C5DA) * sx(0x40, ref_162276)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_163210 = ref_162282 # MOV operation
ref_163212 = ((ref_163210 >> 56) & 0xFF) # Byte reference - MOV operation
ref_163213 = ((ref_163210 >> 48) & 0xFF) # Byte reference - MOV operation
ref_163214 = ((ref_163210 >> 40) & 0xFF) # Byte reference - MOV operation
ref_163215 = ((ref_163210 >> 32) & 0xFF) # Byte reference - MOV operation
ref_163216 = ((ref_163210 >> 24) & 0xFF) # Byte reference - MOV operation
ref_163217 = ((ref_163210 >> 16) & 0xFF) # Byte reference - MOV operation
ref_163218 = ((ref_163210 >> 8) & 0xFF) # Byte reference - MOV operation
ref_163219 = (ref_163210 & 0xFF) # Byte reference - MOV operation
ref_164862 = ((ref_163214) << 8 | ref_163215) # MOVZX operation
ref_164940 = (ref_164862 & 0xFFFF) # MOVZX operation
ref_167886 = ((ref_163216) << 8 | ref_163217) # MOVZX operation
ref_167964 = (ref_167886 & 0xFFFF) # MOVZX operation
ref_169610 = (ref_164940 & 0xFFFF) # MOVZX operation
ref_169688 = (ref_169610 & 0xFFFF) # MOVZX operation
ref_169690 = (((ref_169688 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_169691 = ((ref_169688 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_177928 = ref_161009 # MOV operation
ref_178128 = ref_177928 # MOV operation
ref_178134 = (0x1F & ref_178128) # AND operation
ref_178359 = ref_178134 # MOV operation
ref_178367 = ((ref_178359 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_178374 = ref_178367 # MOV operation
ref_179292 = ref_148458 # MOV operation
ref_179368 = ref_179292 # MOV operation
ref_179380 = ref_178374 # MOV operation
ref_179382 = (ref_179380 | ref_179368) # OR operation
ref_180313 = ref_179382 # MOV operation
ref_181231 = ref_180313 # MOV operation
ref_181431 = ref_181231 # MOV operation
ref_181437 = (0xF & ref_181431) # AND operation
ref_181662 = ref_181437 # MOV operation
ref_181670 = ((ref_181662 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_181677 = ref_181670 # MOV operation
ref_182595 = ref_180313 # MOV operation
ref_182671 = ref_182595 # MOV operation
ref_182683 = ref_181677 # MOV operation
ref_182685 = (ref_182683 | ref_182671) # OR operation
ref_183616 = ref_182685 # MOV operation
ref_185352 = ((ref_163212) << 8 | ref_163213) # MOVZX operation
ref_185430 = (ref_185352 & 0xFFFF) # MOVZX operation
ref_188376 = ((ref_163218) << 8 | ref_163219) # MOVZX operation
ref_188454 = (ref_188376 & 0xFFFF) # MOVZX operation
ref_188456 = (((ref_188454 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_188457 = ((ref_188454 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_190100 = (ref_185430 & 0xFFFF) # MOVZX operation
ref_190178 = (ref_190100 & 0xFFFF) # MOVZX operation
ref_191824 = (ref_190178 & 0xFFFF) # MOVZX operation
ref_191902 = (ref_191824 & 0xFFFF) # MOVZX operation
ref_194848 = (ref_167964 & 0xFFFF) # MOVZX operation
ref_194926 = (ref_194848 & 0xFFFF) # MOVZX operation
ref_194928 = (((ref_194926 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_194929 = ((ref_194926 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_196572 = (ref_191902 & 0xFFFF) # MOVZX operation
ref_196650 = (ref_196572 & 0xFFFF) # MOVZX operation
ref_196652 = (((ref_196650 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_196653 = ((ref_196650 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_197562 = ref_146490 # MOV operation
ref_198576 = ref_183616 # MOV operation
ref_198776 = ref_198576 # MOV operation
ref_198782 = (0xF & ref_198776) # AND operation
ref_198883 = ref_198782 # MOV operation
ref_198897 = (0x1 | ref_198883) # OR operation
ref_199126 = ref_198897 # MOV operation
ref_199128 = ((0x40 - ref_199126) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_199136 = ref_199128 # MOV operation
ref_199240 = ref_197562 # MOV operation
ref_199244 = ref_199136 # MOV operation
ref_199246 = (ref_199244 & 0xFFFFFFFF) # MOV operation
ref_199248 = (ref_199240 >> ((ref_199246 & 0xFF) & 0x3F)) # SHR operation
ref_199255 = ref_199248 # MOV operation
ref_200173 = ref_146490 # MOV operation
ref_201187 = ref_183616 # MOV operation
ref_201387 = ref_201187 # MOV operation
ref_201393 = (0xF & ref_201387) # AND operation
ref_201494 = ref_201393 # MOV operation
ref_201508 = (0x1 | ref_201494) # OR operation
ref_201617 = ref_200173 # MOV operation
ref_201621 = ref_201508 # MOV operation
ref_201623 = (ref_201621 & 0xFFFFFFFF) # MOV operation
ref_201625 = ((ref_201617 << ((ref_201623 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_201632 = ref_201625 # MOV operation
ref_201728 = ref_201632 # MOV operation
ref_201740 = ref_199255 # MOV operation
ref_201742 = (ref_201740 | ref_201728) # OR operation
ref_202781 = ref_161009 # MOV operation
ref_203795 = ((((((((ref_188456) << 8 | ref_188457) << 8 | ref_196652) << 8 | ref_196653) << 8 | ref_169690) << 8 | ref_169691) << 8 | ref_194928) << 8 | ref_194929) # MOV operation
ref_203995 = ref_203795 # MOV operation
ref_204003 = (ref_203995 >> (0x2 & 0x3F)) # SHR operation
ref_204010 = ref_204003 # MOV operation
ref_204230 = ref_204010 # MOV operation
ref_204236 = (0xF & ref_204230) # AND operation
ref_204337 = ref_204236 # MOV operation
ref_204351 = (0x1 | ref_204337) # OR operation
ref_204580 = ref_204351 # MOV operation
ref_204582 = ((0x40 - ref_204580) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_204590 = ref_204582 # MOV operation
ref_204694 = ref_202781 # MOV operation
ref_204698 = ref_204590 # MOV operation
ref_204700 = (ref_204698 & 0xFFFFFFFF) # MOV operation
ref_204702 = (ref_204694 >> ((ref_204700 & 0xFF) & 0x3F)) # SHR operation
ref_204709 = ref_204702 # MOV operation
ref_205627 = ref_161009 # MOV operation
ref_206641 = ((((((((ref_188456) << 8 | ref_188457) << 8 | ref_196652) << 8 | ref_196653) << 8 | ref_169690) << 8 | ref_169691) << 8 | ref_194928) << 8 | ref_194929) # MOV operation
ref_206841 = ref_206641 # MOV operation
ref_206849 = (ref_206841 >> (0x2 & 0x3F)) # SHR operation
ref_206856 = ref_206849 # MOV operation
ref_207076 = ref_206856 # MOV operation
ref_207082 = (0xF & ref_207076) # AND operation
ref_207183 = ref_207082 # MOV operation
ref_207197 = (0x1 | ref_207183) # OR operation
ref_207306 = ref_205627 # MOV operation
ref_207310 = ref_207197 # MOV operation
ref_207312 = (ref_207310 & 0xFFFFFFFF) # MOV operation
ref_207314 = ((ref_207306 << ((ref_207312 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_207321 = ref_207314 # MOV operation
ref_207417 = ref_207321 # MOV operation
ref_207429 = ref_204709 # MOV operation
ref_207431 = (ref_207429 | ref_207417) # OR operation
ref_207656 = ref_207431 # MOV operation
ref_207664 = (ref_207656 >> (0x4 & 0x3F)) # SHR operation
ref_207671 = ref_207664 # MOV operation
ref_207891 = ref_207671 # MOV operation
ref_207897 = (0xF & ref_207891) # AND operation
ref_207998 = ref_207897 # MOV operation
ref_208012 = (0x1 | ref_207998) # OR operation
ref_208241 = ref_208012 # MOV operation
ref_208243 = ((0x40 - ref_208241) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_208251 = ref_208243 # MOV operation
ref_208355 = ref_201742 # MOV operation
ref_208359 = ref_208251 # MOV operation
ref_208361 = (ref_208359 & 0xFFFFFFFF) # MOV operation
ref_208363 = ((ref_208355 << ((ref_208361 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_208370 = ref_208363 # MOV operation
ref_209288 = ref_146490 # MOV operation
ref_210302 = ref_183616 # MOV operation
ref_210502 = ref_210302 # MOV operation
ref_210508 = (0xF & ref_210502) # AND operation
ref_210609 = ref_210508 # MOV operation
ref_210623 = (0x1 | ref_210609) # OR operation
ref_210852 = ref_210623 # MOV operation
ref_210854 = ((0x40 - ref_210852) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_210862 = ref_210854 # MOV operation
ref_210966 = ref_209288 # MOV operation
ref_210970 = ref_210862 # MOV operation
ref_210972 = (ref_210970 & 0xFFFFFFFF) # MOV operation
ref_210974 = (ref_210966 >> ((ref_210972 & 0xFF) & 0x3F)) # SHR operation
ref_210981 = ref_210974 # MOV operation
ref_211899 = ref_146490 # MOV operation
ref_212913 = ref_183616 # MOV operation
ref_213113 = ref_212913 # MOV operation
ref_213119 = (0xF & ref_213113) # AND operation
ref_213220 = ref_213119 # MOV operation
ref_213234 = (0x1 | ref_213220) # OR operation
ref_213343 = ref_211899 # MOV operation
ref_213347 = ref_213234 # MOV operation
ref_213349 = (ref_213347 & 0xFFFFFFFF) # MOV operation
ref_213351 = ((ref_213343 << ((ref_213349 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_213358 = ref_213351 # MOV operation
ref_213454 = ref_213358 # MOV operation
ref_213466 = ref_210981 # MOV operation
ref_213468 = (ref_213466 | ref_213454) # OR operation
ref_214507 = ref_161009 # MOV operation
ref_215521 = ((((((((ref_188456) << 8 | ref_188457) << 8 | ref_196652) << 8 | ref_196653) << 8 | ref_169690) << 8 | ref_169691) << 8 | ref_194928) << 8 | ref_194929) # MOV operation
ref_215721 = ref_215521 # MOV operation
ref_215729 = (ref_215721 >> (0x2 & 0x3F)) # SHR operation
ref_215736 = ref_215729 # MOV operation
ref_215956 = ref_215736 # MOV operation
ref_215962 = (0xF & ref_215956) # AND operation
ref_216063 = ref_215962 # MOV operation
ref_216077 = (0x1 | ref_216063) # OR operation
ref_216306 = ref_216077 # MOV operation
ref_216308 = ((0x40 - ref_216306) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_216316 = ref_216308 # MOV operation
ref_216420 = ref_214507 # MOV operation
ref_216424 = ref_216316 # MOV operation
ref_216426 = (ref_216424 & 0xFFFFFFFF) # MOV operation
ref_216428 = (ref_216420 >> ((ref_216426 & 0xFF) & 0x3F)) # SHR operation
ref_216435 = ref_216428 # MOV operation
ref_217353 = ref_161009 # MOV operation
ref_218367 = ((((((((ref_188456) << 8 | ref_188457) << 8 | ref_196652) << 8 | ref_196653) << 8 | ref_169690) << 8 | ref_169691) << 8 | ref_194928) << 8 | ref_194929) # MOV operation
ref_218567 = ref_218367 # MOV operation
ref_218575 = (ref_218567 >> (0x2 & 0x3F)) # SHR operation
ref_218582 = ref_218575 # MOV operation
ref_218802 = ref_218582 # MOV operation
ref_218808 = (0xF & ref_218802) # AND operation
ref_218909 = ref_218808 # MOV operation
ref_218923 = (0x1 | ref_218909) # OR operation
ref_219032 = ref_217353 # MOV operation
ref_219036 = ref_218923 # MOV operation
ref_219038 = (ref_219036 & 0xFFFFFFFF) # MOV operation
ref_219040 = ((ref_219032 << ((ref_219038 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_219047 = ref_219040 # MOV operation
ref_219143 = ref_219047 # MOV operation
ref_219155 = ref_216435 # MOV operation
ref_219157 = (ref_219155 | ref_219143) # OR operation
ref_219382 = ref_219157 # MOV operation
ref_219390 = (ref_219382 >> (0x4 & 0x3F)) # SHR operation
ref_219397 = ref_219390 # MOV operation
ref_219617 = ref_219397 # MOV operation
ref_219623 = (0xF & ref_219617) # AND operation
ref_219724 = ref_219623 # MOV operation
ref_219738 = (0x1 | ref_219724) # OR operation
ref_219847 = ref_213468 # MOV operation
ref_219851 = ref_219738 # MOV operation
ref_219853 = (ref_219851 & 0xFFFFFFFF) # MOV operation
ref_219855 = (ref_219847 >> ((ref_219853 & 0xFF) & 0x3F)) # SHR operation
ref_219862 = ref_219855 # MOV operation
ref_219958 = ref_219862 # MOV operation
ref_219970 = ref_208370 # MOV operation
ref_219972 = (ref_219970 | ref_219958) # OR operation
ref_220827 = ref_219972 # MOV operation
ref_221038 = ref_220827 # MOV operation
ref_221040 = ref_221038 # MOV operation

print ref_221040 & 0xffffffffffffffff
