#!/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_143890 = ref_278 # MOV operation
ref_143966 = ref_143890 # MOV operation
ref_143980 = ((ref_143966 - 0x35CEDE6D) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_143988 = ref_143980 # MOV operation
ref_144092 = ref_143988 # MOV operation
ref_145747 = ref_278 # MOV operation
ref_145947 = ref_145747 # MOV operation
ref_145955 = ((((0x0) << 64 | ref_145947) / 0x7) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_146060 = ref_145955 # MOV operation
ref_148032 = ref_146060 # MOV operation
ref_148108 = ref_148032 # MOV operation
ref_148122 = (ref_148108 >> (0x3 & 0x3F)) # SHR operation
ref_148347 = ref_148122 # MOV operation
ref_148353 = (0xF & ref_148347) # AND operation
ref_148578 = ref_148353 # MOV operation
ref_148584 = (0x1 | ref_148578) # OR operation
ref_148813 = ref_148584 # MOV operation
ref_148815 = ((0x7A11169 << ((ref_148813 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_149854 = ref_146060 # MOV operation
ref_149930 = ref_149854 # MOV operation
ref_149944 = (ref_149930 >> (0x3 & 0x3F)) # SHR operation
ref_150169 = ref_149944 # MOV operation
ref_150175 = (0xF & ref_150169) # AND operation
ref_150400 = ref_150175 # MOV operation
ref_150406 = (0x1 | ref_150400) # OR operation
ref_150635 = ref_150406 # MOV operation
ref_150637 = ((0x40 - ref_150635) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_150645 = ref_150637 # MOV operation
ref_150869 = ref_150645 # MOV operation
ref_150871 = (0x7A11169 >> ((ref_150869 & 0xFF) & 0x3F)) # SHR operation
ref_150980 = ref_148815 # MOV operation
ref_150984 = ref_150871 # MOV operation
ref_150986 = (ref_150984 | ref_150980) # OR operation
ref_151087 = ref_150986 # MOV operation
ref_151101 = (ref_151087 >> (0x4 & 0x3F)) # SHR operation
ref_151326 = ref_151101 # MOV operation
ref_151332 = (0xF & ref_151326) # AND operation
ref_151557 = ref_151332 # MOV operation
ref_151563 = (0x1 | ref_151557) # OR operation
ref_152401 = ref_278 # MOV operation
ref_152477 = ref_152401 # MOV operation
ref_152489 = ref_151563 # MOV operation
ref_152491 = ((ref_152477 << ((ref_152489 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_153646 = ref_146060 # MOV operation
ref_153722 = ref_153646 # MOV operation
ref_153736 = (ref_153722 >> (0x3 & 0x3F)) # SHR operation
ref_153961 = ref_153736 # MOV operation
ref_153967 = (0xF & ref_153961) # AND operation
ref_154192 = ref_153967 # MOV operation
ref_154198 = (0x1 | ref_154192) # OR operation
ref_154427 = ref_154198 # MOV operation
ref_154429 = ((0x7A11169 << ((ref_154427 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_155468 = ref_146060 # MOV operation
ref_155544 = ref_155468 # MOV operation
ref_155558 = (ref_155544 >> (0x3 & 0x3F)) # SHR operation
ref_155783 = ref_155558 # MOV operation
ref_155789 = (0xF & ref_155783) # AND operation
ref_156014 = ref_155789 # MOV operation
ref_156020 = (0x1 | ref_156014) # OR operation
ref_156249 = ref_156020 # MOV operation
ref_156251 = ((0x40 - ref_156249) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_156259 = ref_156251 # MOV operation
ref_156483 = ref_156259 # MOV operation
ref_156485 = (0x7A11169 >> ((ref_156483 & 0xFF) & 0x3F)) # SHR operation
ref_156594 = ref_154429 # MOV operation
ref_156598 = ref_156485 # MOV operation
ref_156600 = (ref_156598 | ref_156594) # OR operation
ref_156701 = ref_156600 # MOV operation
ref_156715 = (ref_156701 >> (0x4 & 0x3F)) # SHR operation
ref_156940 = ref_156715 # MOV operation
ref_156946 = (0xF & ref_156940) # AND operation
ref_157171 = ref_156946 # MOV operation
ref_157177 = (0x1 | ref_157171) # OR operation
ref_157406 = ref_157177 # MOV operation
ref_157408 = ((0x40 - ref_157406) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_157416 = ref_157408 # MOV operation
ref_158249 = ref_278 # MOV operation
ref_158325 = ref_158249 # MOV operation
ref_158337 = ref_157416 # MOV operation
ref_158339 = (ref_158325 >> ((ref_158337 & 0xFF) & 0x3F)) # SHR operation
ref_158448 = ref_152491 # MOV operation
ref_158452 = ref_158339 # MOV operation
ref_158454 = (ref_158452 | ref_158448) # OR operation
ref_158563 = ref_158454 # MOV operation
ref_160334 = ref_278 # MOV operation
ref_160410 = ref_160334 # MOV operation
ref_160424 = ((ref_160410 - 0x297EE8A1) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_160432 = ref_160424 # MOV operation
ref_160652 = ref_160432 # MOV operation
ref_160658 = (((sx(0x40, 0x1471C5DA) * sx(0x40, ref_160652)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_160764 = ref_160658 # MOV operation
ref_160766 = ((ref_160764 >> 56) & 0xFF) # Byte reference - MOV operation
ref_160767 = ((ref_160764 >> 48) & 0xFF) # Byte reference - MOV operation
ref_160768 = ((ref_160764 >> 40) & 0xFF) # Byte reference - MOV operation
ref_160769 = ((ref_160764 >> 32) & 0xFF) # Byte reference - MOV operation
ref_160770 = ((ref_160764 >> 24) & 0xFF) # Byte reference - MOV operation
ref_160771 = ((ref_160764 >> 16) & 0xFF) # Byte reference - MOV operation
ref_160772 = ((ref_160764 >> 8) & 0xFF) # Byte reference - MOV operation
ref_160773 = (ref_160764 & 0xFF) # Byte reference - MOV operation
ref_162288 = ((ref_160768) << 8 | ref_160769) # MOVZX operation
ref_162494 = (ref_162288 & 0xFFFF) # MOVZX operation
ref_164012 = ((ref_160770) << 8 | ref_160771) # MOVZX operation
ref_165518 = (ref_164012 & 0xFFFF) # MOVZX operation
ref_165736 = (ref_162494 & 0xFFFF) # MOVZX operation
ref_167242 = (ref_165736 & 0xFFFF) # MOVZX operation
ref_167244 = (((ref_167242 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_167245 = ((ref_167242 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_176296 = ref_146060 # MOV operation
ref_177310 = ref_158563 # MOV operation
ref_177510 = ref_177310 # MOV operation
ref_177516 = (0x1F & ref_177510) # AND operation
ref_177617 = ref_177516 # MOV operation
ref_177631 = ((ref_177617 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_177740 = ref_176296 # MOV operation
ref_177744 = ref_177631 # MOV operation
ref_177746 = (ref_177744 | ref_177740) # OR operation
ref_177855 = ref_177746 # MOV operation
ref_179595 = ref_177855 # MOV operation
ref_180609 = ref_177855 # MOV operation
ref_180809 = ref_180609 # MOV operation
ref_180815 = (0xF & ref_180809) # AND operation
ref_180916 = ref_180815 # MOV operation
ref_180930 = ((ref_180916 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_181039 = ref_179595 # MOV operation
ref_181043 = ref_180930 # MOV operation
ref_181045 = (ref_181043 | ref_181039) # OR operation
ref_181154 = ref_181045 # MOV operation
ref_182762 = ((ref_160766) << 8 | ref_160767) # MOVZX operation
ref_182968 = (ref_182762 & 0xFFFF) # MOVZX operation
ref_184486 = ((ref_160772) << 8 | ref_160773) # MOVZX operation
ref_185992 = (ref_184486 & 0xFFFF) # MOVZX operation
ref_185994 = (((ref_185992 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_185995 = ((ref_185992 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_186210 = (ref_182968 & 0xFFFF) # MOVZX operation
ref_187716 = (ref_186210 & 0xFFFF) # MOVZX operation
ref_189234 = (ref_187716 & 0xFFFF) # MOVZX operation
ref_189440 = (ref_189234 & 0xFFFF) # MOVZX operation
ref_190958 = (ref_165518 & 0xFFFF) # MOVZX operation
ref_192464 = (ref_190958 & 0xFFFF) # MOVZX operation
ref_192466 = (((ref_192464 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_192467 = ((ref_192464 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_192682 = (ref_189440 & 0xFFFF) # MOVZX operation
ref_194188 = (ref_192682 & 0xFFFF) # MOVZX operation
ref_194190 = (((ref_194188 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_194191 = ((ref_194188 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_196078 = ((((((((ref_185994) << 8 | ref_185995) << 8 | ref_194190) << 8 | ref_194191) << 8 | ref_167244) << 8 | ref_167245) << 8 | ref_192466) << 8 | ref_192467) # MOV operation
ref_196154 = ref_196078 # MOV operation
ref_196168 = (ref_196154 >> (0x2 & 0x3F)) # SHR operation
ref_196393 = ref_196168 # MOV operation
ref_196399 = (0xF & ref_196393) # AND operation
ref_196624 = ref_196399 # MOV operation
ref_196630 = (0x1 | ref_196624) # OR operation
ref_197553 = ref_158563 # MOV operation
ref_197629 = ref_197553 # MOV operation
ref_197641 = ref_196630 # MOV operation
ref_197643 = ((ref_197629 << ((ref_197641 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_198682 = ((((((((ref_185994) << 8 | ref_185995) << 8 | ref_194190) << 8 | ref_194191) << 8 | ref_167244) << 8 | ref_167245) << 8 | ref_192466) << 8 | ref_192467) # MOV operation
ref_198758 = ref_198682 # MOV operation
ref_198772 = (ref_198758 >> (0x2 & 0x3F)) # SHR operation
ref_198997 = ref_198772 # MOV operation
ref_199003 = (0xF & ref_198997) # AND operation
ref_199228 = ref_199003 # MOV operation
ref_199234 = (0x1 | ref_199228) # OR operation
ref_199463 = ref_199234 # MOV operation
ref_199465 = ((0x40 - ref_199463) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_199473 = ref_199465 # MOV operation
ref_200391 = ref_158563 # MOV operation
ref_200467 = ref_200391 # MOV operation
ref_200479 = ref_199473 # MOV operation
ref_200481 = (ref_200467 >> ((ref_200479 & 0xFF) & 0x3F)) # SHR operation
ref_200590 = ref_197643 # MOV operation
ref_200594 = ref_200481 # MOV operation
ref_200596 = (ref_200594 | ref_200590) # OR operation
ref_200697 = ref_200596 # MOV operation
ref_200711 = (ref_200697 >> (0x4 & 0x3F)) # SHR operation
ref_200936 = ref_200711 # MOV operation
ref_200942 = (0xF & ref_200936) # AND operation
ref_201167 = ref_200942 # MOV operation
ref_201173 = (0x1 | ref_201167) # OR operation
ref_202096 = ref_181154 # MOV operation
ref_202296 = ref_202096 # MOV operation
ref_202302 = (0xF & ref_202296) # AND operation
ref_202527 = ref_202302 # MOV operation
ref_202533 = (0x1 | ref_202527) # OR operation
ref_203456 = ref_144092 # MOV operation
ref_203532 = ref_203456 # MOV operation
ref_203544 = ref_202533 # MOV operation
ref_203546 = ((ref_203532 << ((ref_203544 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_204469 = ref_181154 # MOV operation
ref_204669 = ref_204469 # MOV operation
ref_204675 = (0xF & ref_204669) # AND operation
ref_204900 = ref_204675 # MOV operation
ref_204906 = (0x1 | ref_204900) # OR operation
ref_205135 = ref_204906 # MOV operation
ref_205137 = ((0x40 - ref_205135) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_205145 = ref_205137 # MOV operation
ref_206063 = ref_144092 # MOV operation
ref_206139 = ref_206063 # MOV operation
ref_206151 = ref_205145 # MOV operation
ref_206153 = (ref_206139 >> ((ref_206151 & 0xFF) & 0x3F)) # SHR operation
ref_206262 = ref_203546 # MOV operation
ref_206266 = ref_206153 # MOV operation
ref_206268 = (ref_206266 | ref_206262) # OR operation
ref_206369 = ref_206268 # MOV operation
ref_206381 = ref_201173 # MOV operation
ref_206383 = (ref_206369 >> ((ref_206381 & 0xFF) & 0x3F)) # SHR operation
ref_207538 = ((((((((ref_185994) << 8 | ref_185995) << 8 | ref_194190) << 8 | ref_194191) << 8 | ref_167244) << 8 | ref_167245) << 8 | ref_192466) << 8 | ref_192467) # MOV operation
ref_207614 = ref_207538 # MOV operation
ref_207628 = (ref_207614 >> (0x2 & 0x3F)) # SHR operation
ref_207853 = ref_207628 # MOV operation
ref_207859 = (0xF & ref_207853) # AND operation
ref_208084 = ref_207859 # MOV operation
ref_208090 = (0x1 | ref_208084) # OR operation
ref_209013 = ref_158563 # MOV operation
ref_209089 = ref_209013 # MOV operation
ref_209101 = ref_208090 # MOV operation
ref_209103 = ((ref_209089 << ((ref_209101 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_210142 = ((((((((ref_185994) << 8 | ref_185995) << 8 | ref_194190) << 8 | ref_194191) << 8 | ref_167244) << 8 | ref_167245) << 8 | ref_192466) << 8 | ref_192467) # MOV operation
ref_210218 = ref_210142 # MOV operation
ref_210232 = (ref_210218 >> (0x2 & 0x3F)) # SHR operation
ref_210457 = ref_210232 # MOV operation
ref_210463 = (0xF & ref_210457) # AND operation
ref_210688 = ref_210463 # MOV operation
ref_210694 = (0x1 | ref_210688) # OR operation
ref_210923 = ref_210694 # MOV operation
ref_210925 = ((0x40 - ref_210923) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_210933 = ref_210925 # MOV operation
ref_211851 = ref_158563 # MOV operation
ref_211927 = ref_211851 # MOV operation
ref_211939 = ref_210933 # MOV operation
ref_211941 = (ref_211927 >> ((ref_211939 & 0xFF) & 0x3F)) # SHR operation
ref_212050 = ref_209103 # MOV operation
ref_212054 = ref_211941 # MOV operation
ref_212056 = (ref_212054 | ref_212050) # OR operation
ref_212157 = ref_212056 # MOV operation
ref_212171 = (ref_212157 >> (0x4 & 0x3F)) # SHR operation
ref_212396 = ref_212171 # MOV operation
ref_212402 = (0xF & ref_212396) # AND operation
ref_212627 = ref_212402 # MOV operation
ref_212633 = (0x1 | ref_212627) # OR operation
ref_212862 = ref_212633 # MOV operation
ref_212864 = ((0x40 - ref_212862) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_212872 = ref_212864 # MOV operation
ref_213790 = ref_181154 # MOV operation
ref_213990 = ref_213790 # MOV operation
ref_213996 = (0xF & ref_213990) # AND operation
ref_214221 = ref_213996 # MOV operation
ref_214227 = (0x1 | ref_214221) # OR operation
ref_215150 = ref_144092 # MOV operation
ref_215226 = ref_215150 # MOV operation
ref_215238 = ref_214227 # MOV operation
ref_215240 = ((ref_215226 << ((ref_215238 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_216163 = ref_181154 # MOV operation
ref_216363 = ref_216163 # MOV operation
ref_216369 = (0xF & ref_216363) # AND operation
ref_216594 = ref_216369 # MOV operation
ref_216600 = (0x1 | ref_216594) # OR operation
ref_216829 = ref_216600 # MOV operation
ref_216831 = ((0x40 - ref_216829) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_216839 = ref_216831 # MOV operation
ref_217757 = ref_144092 # MOV operation
ref_217833 = ref_217757 # MOV operation
ref_217845 = ref_216839 # MOV operation
ref_217847 = (ref_217833 >> ((ref_217845 & 0xFF) & 0x3F)) # SHR operation
ref_217956 = ref_215240 # MOV operation
ref_217960 = ref_217847 # MOV operation
ref_217962 = (ref_217960 | ref_217956) # OR operation
ref_218063 = ref_217962 # MOV operation
ref_218075 = ref_212872 # MOV operation
ref_218077 = ((ref_218063 << ((ref_218075 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_218186 = ref_206383 # MOV operation
ref_218190 = ref_218077 # MOV operation
ref_218192 = (ref_218190 | ref_218186) # OR operation
ref_218301 = ref_218192 # MOV operation
ref_218512 = ref_218301 # MOV operation
ref_218514 = ref_218512 # MOV operation

print ref_218514 & 0xffffffffffffffff
