#!/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_15058 = ref_278 # MOV operation
ref_16998 = ref_15058 # MOV operation
ref_17006 = ((ref_16998 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_17013 = ref_17006 # MOV operation
ref_21806 = ref_278 # MOV operation
ref_23496 = ref_21806 # MOV operation
ref_23504 = (ref_23496 >> (0x7 & 0x3F)) # SHR operation
ref_23511 = ref_23504 # MOV operation
ref_24352 = ref_23511 # MOV operation
ref_24364 = ref_17013 # MOV operation
ref_24366 = (ref_24364 | ref_24352) # OR operation
ref_24570 = ref_24366 # MOV operation
ref_35996 = ref_24570 # MOV operation
ref_37140 = ref_35996 # MOV operation
ref_37142 = ((ref_37140 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_37651 = ref_37142 # MOV operation
ref_37653 = (ref_37651 & 0x1D5ABF66) # AND operation
ref_42451 = ref_278 # MOV operation
ref_44391 = ref_42451 # MOV operation
ref_44399 = ((ref_44391 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_44406 = ref_44399 # MOV operation
ref_49199 = ref_278 # MOV operation
ref_50889 = ref_49199 # MOV operation
ref_50897 = (ref_50889 >> (0xB & 0x3F)) # SHR operation
ref_50904 = ref_50897 # MOV operation
ref_51745 = ref_50904 # MOV operation
ref_51757 = ref_44406 # MOV operation
ref_51759 = (ref_51757 | ref_51745) # OR operation
ref_52305 = ref_51759 # MOV operation
ref_52317 = ref_37653 # MOV operation
ref_52319 = ((ref_52305 - ref_52317) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_52327 = ref_52319 # MOV operation
ref_52526 = ref_52327 # MOV operation
ref_63117 = ref_278 # MOV operation
ref_63638 = ref_63117 # MOV operation
ref_63652 = ((ref_63638 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_63660 = ref_63652 # MOV operation
ref_63859 = ref_63660 # MOV operation
ref_75285 = ref_24570 # MOV operation
ref_75656 = ref_75285 # MOV operation
ref_75670 = ((0x20453EE3 + ref_75656) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_80469 = ref_278 # MOV operation
ref_80990 = ref_80469 # MOV operation
ref_81002 = ref_75670 # MOV operation
ref_81004 = ((ref_80990 - ref_81002) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_81012 = ref_81004 # MOV operation
ref_81211 = ref_81012 # MOV operation
ref_99382 = ref_24570 # MOV operation
ref_106895 = ref_63859 # MOV operation
ref_107716 = ref_106895 # MOV operation
ref_107728 = ref_99382 # MOV operation
ref_107730 = (ref_107728 | ref_107716) # OR operation
ref_108995 = ref_107730 # MOV operation
ref_109001 = (0x3F & ref_108995) # AND operation
ref_110966 = ref_109001 # MOV operation
ref_110974 = ((ref_110966 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_110981 = ref_110974 # MOV operation
ref_117342 = ref_24570 # MOV operation
ref_118163 = ref_117342 # MOV operation
ref_118175 = ref_110981 # MOV operation
ref_118177 = (ref_118175 | ref_118163) # OR operation
ref_118381 = ref_118177 # MOV operation
ref_130951 = ref_52526 # MOV operation
ref_138053 = ref_118381 # MOV operation
ref_139743 = ref_138053 # MOV operation
ref_139751 = (ref_139743 >> (0x1 & 0x3F)) # SHR operation
ref_139758 = ref_139751 # MOV operation
ref_141018 = ref_139758 # MOV operation
ref_141024 = (0xF & ref_141018) # AND operation
ref_141870 = ref_141024 # MOV operation
ref_141884 = (0x1 | ref_141870) # OR operation
ref_143203 = ref_141884 # MOV operation
ref_143205 = ((0x40 - ref_143203) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_143213 = ref_143205 # MOV operation
ref_144412 = ref_130951 # MOV operation
ref_144416 = ref_143213 # MOV operation
ref_144418 = (ref_144416 & 0xFFFFFFFF) # MOV operation
ref_144420 = ((ref_144412 << ((ref_144418 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_144427 = ref_144420 # MOV operation
ref_150055 = ref_52526 # MOV operation
ref_157157 = ref_118381 # MOV operation
ref_158847 = ref_157157 # MOV operation
ref_158855 = (ref_158847 >> (0x1 & 0x3F)) # SHR operation
ref_158862 = ref_158855 # MOV operation
ref_160122 = ref_158862 # MOV operation
ref_160128 = (0xF & ref_160122) # AND operation
ref_160974 = ref_160128 # MOV operation
ref_160988 = (0x1 | ref_160974) # OR operation
ref_161942 = ref_150055 # MOV operation
ref_161946 = ref_160988 # MOV operation
ref_161948 = (ref_161946 & 0xFFFFFFFF) # MOV operation
ref_161950 = (ref_161942 >> ((ref_161948 & 0xFF) & 0x3F)) # SHR operation
ref_161957 = ref_161950 # MOV operation
ref_162798 = ref_161957 # MOV operation
ref_162810 = ref_144427 # MOV operation
ref_162812 = (ref_162810 | ref_162798) # OR operation
ref_163016 = ref_162812 # MOV operation
ref_173681 = ref_81211 # MOV operation
ref_181194 = ref_163016 # MOV operation
ref_181715 = ref_181194 # MOV operation
ref_181727 = ref_173681 # MOV operation
ref_181729 = ((ref_181715 - ref_181727) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_181737 = ref_181729 # MOV operation
ref_181936 = ref_181737 # MOV operation
ref_200971 = ref_118381 # MOV operation
ref_207340 = ref_52526 # MOV operation
ref_208580 = ref_207340 # MOV operation
ref_208586 = (0xF & ref_208580) # AND operation
ref_209432 = ref_208586 # MOV operation
ref_209446 = (0x1 | ref_209432) # OR operation
ref_210765 = ref_209446 # MOV operation
ref_210767 = ((0x40 - ref_210765) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_210775 = ref_210767 # MOV operation
ref_211974 = ref_200971 # MOV operation
ref_211978 = ref_210775 # MOV operation
ref_211980 = (ref_211978 & 0xFFFFFFFF) # MOV operation
ref_211982 = ((ref_211974 << ((ref_211980 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_211989 = ref_211982 # MOV operation
ref_217617 = ref_118381 # MOV operation
ref_223986 = ref_52526 # MOV operation
ref_225226 = ref_223986 # MOV operation
ref_225232 = (0xF & ref_225226) # AND operation
ref_226078 = ref_225232 # MOV operation
ref_226092 = (0x1 | ref_226078) # OR operation
ref_227046 = ref_217617 # MOV operation
ref_227050 = ref_226092 # MOV operation
ref_227052 = (ref_227050 & 0xFFFFFFFF) # MOV operation
ref_227054 = (ref_227046 >> ((ref_227052 & 0xFF) & 0x3F)) # SHR operation
ref_227061 = ref_227054 # MOV operation
ref_227902 = ref_227061 # MOV operation
ref_227914 = ref_211989 # MOV operation
ref_227916 = (ref_227914 | ref_227902) # OR operation
ref_234310 = ref_81211 # MOV operation
ref_239918 = ref_181936 # MOV operation
ref_240739 = ref_239918 # MOV operation
ref_240751 = ref_234310 # MOV operation
ref_240753 = (ref_240751 | ref_240739) # OR operation
ref_242468 = ref_240753 # MOV operation
ref_242476 = (ref_242468 >> (0x1 & 0x3F)) # SHR operation
ref_242483 = ref_242476 # MOV operation
ref_243743 = ref_242483 # MOV operation
ref_243749 = (0x7 & ref_243743) # AND operation
ref_244595 = ref_243749 # MOV operation
ref_244609 = (0x1 | ref_244595) # OR operation
ref_245813 = ref_227916 # MOV operation
ref_245817 = ref_244609 # MOV operation
ref_245819 = (ref_245817 & 0xFFFFFFFF) # MOV operation
ref_245821 = ((ref_245813 << ((ref_245819 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_245828 = ref_245821 # MOV operation
ref_246027 = ref_245828 # MOV operation
ref_247728 = ref_246027 # MOV operation
ref_247730 = ref_247728 # MOV operation

print ref_247730 & 0xffffffffffffffff
