#!/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_10841 = ref_278 # MOV operation
ref_11599 = ref_10841 # MOV operation
ref_11609 = ((ref_11599 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_11616 = ref_11609 # MOV operation
ref_14775 = ref_278 # MOV operation
ref_15543 = ref_14775 # MOV operation
ref_15553 = (ref_15543 >> (0x7 & 0x3F)) # SHR operation
ref_15560 = ref_15553 # MOV operation
ref_15972 = ref_15560 # MOV operation
ref_15986 = ref_11616 # MOV operation
ref_15988 = (ref_15986 | ref_15972) # OR operation
ref_16371 = ref_15988 # MOV operation
ref_22547 = ref_278 # MOV operation
ref_23314 = ref_22547 # MOV operation
ref_23324 = ((ref_23314 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_23331 = ref_23324 # MOV operation
ref_26552 = ref_278 # MOV operation
ref_27354 = ref_26552 # MOV operation
ref_27364 = (ref_27354 >> (0xB & 0x3F)) # SHR operation
ref_27371 = ref_27364 # MOV operation
ref_27735 = ref_27371 # MOV operation
ref_27749 = ref_23331 # MOV operation
ref_27751 = (ref_27749 | ref_27735) # OR operation
ref_31484 = ref_16371 # MOV operation
ref_31943 = ref_31484 # MOV operation
ref_31945 = ((ref_31943 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_32760 = ref_31945 # MOV operation
ref_32762 = (ref_32760 & 0x1D5ABF66) # AND operation
ref_33207 = ref_27751 # MOV operation
ref_33213 = ref_32762 # MOV operation
ref_33215 = ((ref_33207 - ref_33213) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_33223 = ref_33215 # MOV operation
ref_33555 = ref_33223 # MOV operation
ref_39679 = ref_278 # MOV operation
ref_40456 = ref_39679 # MOV operation
ref_40464 = ((ref_40456 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_40472 = ref_40464 # MOV operation
ref_40888 = ref_40472 # MOV operation
ref_47017 = ref_278 # MOV operation
ref_50322 = ref_16371 # MOV operation
ref_51133 = ref_50322 # MOV operation
ref_51141 = ((0x20453EE3 + ref_51133) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_51563 = ref_47017 # MOV operation
ref_51569 = ref_51141 # MOV operation
ref_51571 = ((ref_51563 - ref_51569) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_51579 = ref_51571 # MOV operation
ref_51967 = ref_51579 # MOV operation
ref_63060 = ref_16371 # MOV operation
ref_67552 = ref_40888 # MOV operation
ref_67900 = ref_67552 # MOV operation
ref_67914 = ref_63060 # MOV operation
ref_67916 = (ref_67914 | ref_67900) # OR operation
ref_68317 = ref_67916 # MOV operation
ref_68333 = (0x3F & ref_68317) # AND operation
ref_69184 = ref_68333 # MOV operation
ref_69194 = ((ref_69184 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_69201 = ref_69194 # MOV operation
ref_72891 = ref_16371 # MOV operation
ref_73238 = ref_72891 # MOV operation
ref_73252 = ref_69201 # MOV operation
ref_73254 = (ref_73252 | ref_73238) # OR operation
ref_73685 = ref_73254 # MOV operation
ref_81066 = ref_33555 # MOV operation
ref_86036 = ref_73685 # MOV operation
ref_86822 = ref_86036 # MOV operation
ref_86832 = (ref_86822 >> (0x1 & 0x3F)) # SHR operation
ref_86839 = ref_86832 # MOV operation
ref_87242 = ref_86839 # MOV operation
ref_87258 = (0xF & ref_87242) # AND operation
ref_87681 = ref_87258 # MOV operation
ref_87697 = (0x1 | ref_87681) # OR operation
ref_88102 = ref_87697 # MOV operation
ref_88104 = ((0x40 - ref_88102) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_88112 = ref_88104 # MOV operation
ref_88500 = ref_81066 # MOV operation
ref_88506 = ref_88112 # MOV operation
ref_88508 = (ref_88506 & 0xFFFFFFFF) # MOV operation
ref_88510 = ((ref_88500 << ((ref_88508 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_88517 = ref_88510 # MOV operation
ref_91830 = ref_33555 # MOV operation
ref_96377 = ref_73685 # MOV operation
ref_97194 = ref_96377 # MOV operation
ref_97204 = (ref_97194 >> (0x1 & 0x3F)) # SHR operation
ref_97211 = ref_97204 # MOV operation
ref_97575 = ref_97211 # MOV operation
ref_97591 = (0xF & ref_97575) # AND operation
ref_97986 = ref_97591 # MOV operation
ref_98002 = (0x1 | ref_97986) # OR operation
ref_98401 = ref_91830 # MOV operation
ref_98407 = ref_98002 # MOV operation
ref_98409 = (ref_98407 & 0xFFFFFFFF) # MOV operation
ref_98411 = (ref_98401 >> ((ref_98409 & 0xFF) & 0x3F)) # SHR operation
ref_98418 = ref_98411 # MOV operation
ref_98804 = ref_98418 # MOV operation
ref_98818 = ref_88517 # MOV operation
ref_98820 = (ref_98818 | ref_98804) # OR operation
ref_99203 = ref_98820 # MOV operation
ref_106519 = ref_99203 # MOV operation
ref_109764 = ref_51967 # MOV operation
ref_110130 = ref_106519 # MOV operation
ref_110136 = ref_109764 # MOV operation
ref_110138 = ((ref_110130 - ref_110136) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_110146 = ref_110138 # MOV operation
ref_110519 = ref_110146 # MOV operation
ref_122332 = ref_73685 # MOV operation
ref_126848 = ref_33555 # MOV operation
ref_127221 = ref_126848 # MOV operation
ref_127237 = (0xF & ref_127221) # AND operation
ref_127695 = ref_127237 # MOV operation
ref_127711 = (0x1 | ref_127695) # OR operation
ref_128124 = ref_127711 # MOV operation
ref_128126 = ((0x40 - ref_128124) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_128134 = ref_128126 # MOV operation
ref_128502 = ref_122332 # MOV operation
ref_128508 = ref_128134 # MOV operation
ref_128510 = (ref_128508 & 0xFFFFFFFF) # MOV operation
ref_128512 = ((ref_128502 << ((ref_128510 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_128519 = ref_128512 # MOV operation
ref_131774 = ref_73685 # MOV operation
ref_135894 = ref_33555 # MOV operation
ref_136270 = ref_135894 # MOV operation
ref_136286 = (0xF & ref_136270) # AND operation
ref_136709 = ref_136286 # MOV operation
ref_136725 = (0x1 | ref_136709) # OR operation
ref_137098 = ref_131774 # MOV operation
ref_137104 = ref_136725 # MOV operation
ref_137106 = (ref_137104 & 0xFFFFFFFF) # MOV operation
ref_137108 = (ref_137098 >> ((ref_137106 & 0xFF) & 0x3F)) # SHR operation
ref_137115 = ref_137108 # MOV operation
ref_137533 = ref_137115 # MOV operation
ref_137547 = ref_128519 # MOV operation
ref_137549 = (ref_137547 | ref_137533) # OR operation
ref_141724 = ref_51967 # MOV operation
ref_144986 = ref_110519 # MOV operation
ref_145344 = ref_144986 # MOV operation
ref_145358 = ref_141724 # MOV operation
ref_145360 = (ref_145358 | ref_145344) # OR operation
ref_146204 = ref_145360 # MOV operation
ref_146214 = (ref_146204 >> (0x1 & 0x3F)) # SHR operation
ref_146221 = ref_146214 # MOV operation
ref_146637 = ref_146221 # MOV operation
ref_146653 = (0x7 & ref_146637) # AND operation
ref_147052 = ref_146653 # MOV operation
ref_147068 = (0x1 | ref_147052) # OR operation
ref_147499 = ref_137549 # MOV operation
ref_147505 = ref_147068 # MOV operation
ref_147507 = (ref_147505 & 0xFFFFFFFF) # MOV operation
ref_147509 = ((ref_147499 << ((ref_147507 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_147516 = ref_147509 # MOV operation
ref_147889 = ref_147516 # MOV operation
ref_148715 = ref_147889 # MOV operation
ref_148717 = ref_148715 # MOV operation

print ref_148717 & 0xffffffffffffffff
