#!/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_70677 = ref_278 # MOV operation
ref_70952 = ref_70677 # MOV operation
ref_70960 = (ref_70952 >> (0x7 & 0x3F)) # SHR operation
ref_70967 = ref_70960 # MOV operation
ref_72249 = ref_278 # MOV operation
ref_72358 = ref_72249 # MOV operation
ref_72372 = ((ref_72358 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_72478 = ref_70967 # MOV operation
ref_72482 = ref_72372 # MOV operation
ref_72484 = (ref_72482 | ref_72478) # OR operation
ref_73697 = ref_72484 # MOV operation
ref_75073 = ref_73697 # MOV operation
ref_75140 = ref_75073 # MOV operation
ref_75142 = ((ref_75140 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_75447 = ref_75142 # MOV operation
ref_75449 = (ref_75447 & 0x1D5ABF66) # AND operation
ref_76578 = ref_278 # MOV operation
ref_76853 = ref_76578 # MOV operation
ref_76861 = (ref_76853 >> (0xB & 0x3F)) # SHR operation
ref_76868 = ref_76861 # MOV operation
ref_78150 = ref_278 # MOV operation
ref_78259 = ref_78150 # MOV operation
ref_78273 = ((ref_78259 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_78379 = ref_76868 # MOV operation
ref_78383 = ref_78273 # MOV operation
ref_78385 = (ref_78383 | ref_78379) # OR operation
ref_78483 = ref_78385 # MOV operation
ref_78495 = ref_75449 # MOV operation
ref_78497 = ((ref_78483 - ref_78495) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_78505 = ref_78497 # MOV operation
ref_79713 = ref_78505 # MOV operation
ref_80995 = ref_278 # MOV operation
ref_81068 = ref_80995 # MOV operation
ref_81082 = ((ref_81068 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_81090 = ref_81082 # MOV operation
ref_82298 = ref_81090 # MOV operation
ref_83516 = ref_73697 # MOV operation
ref_83737 = ref_83516 # MOV operation
ref_83743 = ((0x20453EE3 + ref_83737) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_84873 = ref_278 # MOV operation
ref_84946 = ref_84873 # MOV operation
ref_84958 = ref_83743 # MOV operation
ref_84960 = ((ref_84946 - ref_84958) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_84968 = ref_84960 # MOV operation
ref_86176 = ref_84968 # MOV operation
ref_88761 = ref_73697 # MOV operation
ref_90640 = ref_82298 # MOV operation
ref_91950 = ref_73697 # MOV operation
ref_92031 = ref_90640 # MOV operation
ref_92035 = ref_91950 # MOV operation
ref_92037 = (ref_92035 | ref_92031) # OR operation
ref_92171 = ref_92037 # MOV operation
ref_92185 = (0x3F & ref_92171) # AND operation
ref_92319 = ref_92185 # MOV operation
ref_92333 = ((ref_92319 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_92439 = ref_88761 # MOV operation
ref_92443 = ref_92333 # MOV operation
ref_92445 = (ref_92443 | ref_92439) # OR operation
ref_93770 = ref_92445 # MOV operation
ref_94988 = ref_79713 # MOV operation
ref_96456 = ref_93770 # MOV operation
ref_96731 = ref_96456 # MOV operation
ref_96739 = (ref_96731 >> (0x1 & 0x3F)) # SHR operation
ref_96746 = ref_96739 # MOV operation
ref_96875 = ref_96746 # MOV operation
ref_96889 = (0xF & ref_96875) # AND operation
ref_97153 = ref_96889 # MOV operation
ref_97159 = (0x1 | ref_97153) # OR operation
ref_97301 = ref_94988 # MOV operation
ref_97305 = ref_97159 # MOV operation
ref_97307 = (ref_97305 & 0xFFFFFFFF) # MOV operation
ref_97309 = (ref_97301 >> ((ref_97307 & 0xFF) & 0x3F)) # SHR operation
ref_97316 = ref_97309 # MOV operation
ref_98804 = ref_93770 # MOV operation
ref_99079 = ref_98804 # MOV operation
ref_99087 = (ref_99079 >> (0x1 & 0x3F)) # SHR operation
ref_99094 = ref_99087 # MOV operation
ref_99223 = ref_99094 # MOV operation
ref_99237 = (0xF & ref_99223) # AND operation
ref_99501 = ref_99237 # MOV operation
ref_99507 = (0x1 | ref_99501) # OR operation
ref_99775 = ref_99507 # MOV operation
ref_99777 = ((0x40 - ref_99775) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_99785 = ref_99777 # MOV operation
ref_101003 = ref_79713 # MOV operation
ref_101112 = ref_101003 # MOV operation
ref_101124 = ref_99785 # MOV operation
ref_101126 = ((ref_101112 << ((ref_101124 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_101232 = ref_97316 # MOV operation
ref_101236 = ref_101126 # MOV operation
ref_101238 = (ref_101236 | ref_101232) # OR operation
ref_102816 = ref_101238 # MOV operation
ref_104034 = ref_86176 # MOV operation
ref_105597 = ref_102816 # MOV operation
ref_105670 = ref_105597 # MOV operation
ref_105682 = ref_104034 # MOV operation
ref_105684 = ((ref_105670 - ref_105682) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_105692 = ref_105684 # MOV operation
ref_106900 = ref_105692 # MOV operation
ref_110087 = ref_106900 # MOV operation
ref_111285 = ref_86176 # MOV operation
ref_111366 = ref_110087 # MOV operation
ref_111370 = ref_111285 # MOV operation
ref_111372 = (ref_111370 | ref_111366) # OR operation
ref_111672 = ref_111372 # MOV operation
ref_111680 = (ref_111672 >> (0x1 & 0x3F)) # SHR operation
ref_111687 = ref_111680 # MOV operation
ref_111816 = ref_111687 # MOV operation
ref_111830 = (0x7 & ref_111816) # AND operation
ref_112094 = ref_111830 # MOV operation
ref_112100 = (0x1 | ref_112094) # OR operation
ref_113323 = ref_93770 # MOV operation
ref_114679 = ref_79713 # MOV operation
ref_114788 = ref_114679 # MOV operation
ref_114802 = (0xF & ref_114788) # AND operation
ref_115066 = ref_114802 # MOV operation
ref_115072 = (0x1 | ref_115066) # OR operation
ref_115214 = ref_113323 # MOV operation
ref_115218 = ref_115072 # MOV operation
ref_115220 = (ref_115218 & 0xFFFFFFFF) # MOV operation
ref_115222 = (ref_115214 >> ((ref_115220 & 0xFF) & 0x3F)) # SHR operation
ref_115229 = ref_115222 # MOV operation
ref_116605 = ref_79713 # MOV operation
ref_116714 = ref_116605 # MOV operation
ref_116728 = (0xF & ref_116714) # AND operation
ref_116992 = ref_116728 # MOV operation
ref_116998 = (0x1 | ref_116992) # OR operation
ref_117266 = ref_116998 # MOV operation
ref_117268 = ((0x40 - ref_117266) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_117276 = ref_117268 # MOV operation
ref_118494 = ref_93770 # MOV operation
ref_118603 = ref_118494 # MOV operation
ref_118615 = ref_117276 # MOV operation
ref_118617 = ((ref_118603 << ((ref_118615 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_118723 = ref_115229 # MOV operation
ref_118727 = ref_118617 # MOV operation
ref_118729 = (ref_118727 | ref_118723) # OR operation
ref_118863 = ref_118729 # MOV operation
ref_118875 = ref_112100 # MOV operation
ref_118877 = ((ref_118863 << ((ref_118875 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_120005 = ref_118877 # MOV operation
ref_120273 = ref_120005 # MOV operation
ref_120275 = ref_120273 # MOV operation

print ref_120275 & 0xffffffffffffffff
