#!/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_12423 = ref_278 # MOV operation
ref_12559 = ref_12423 # MOV operation
ref_12567 = ((ref_12559 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_12574 = ref_12567 # MOV operation
ref_13151 = ref_278 # MOV operation
ref_13287 = ref_13151 # MOV operation
ref_13295 = (ref_13287 >> (0x7 & 0x3F)) # SHR operation
ref_13302 = ref_13295 # MOV operation
ref_13366 = ref_13302 # MOV operation
ref_13378 = ref_12574 # MOV operation
ref_13380 = (ref_13378 | ref_13366) # OR operation
ref_13457 = ref_13380 # MOV operation
ref_14801 = ref_13457 # MOV operation
ref_14941 = ref_14801 # MOV operation
ref_14943 = ((ref_14941 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_15025 = ref_14943 # MOV operation
ref_15027 = (ref_15025 & 0x1D5ABF66) # AND operation
ref_15609 = ref_278 # MOV operation
ref_15745 = ref_15609 # MOV operation
ref_15753 = ((ref_15745 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_15760 = ref_15753 # MOV operation
ref_16337 = ref_278 # MOV operation
ref_16473 = ref_16337 # MOV operation
ref_16481 = (ref_16473 >> (0xB & 0x3F)) # SHR operation
ref_16488 = ref_16481 # MOV operation
ref_16552 = ref_16488 # MOV operation
ref_16564 = ref_15760 # MOV operation
ref_16566 = (ref_16564 | ref_16552) # OR operation
ref_16635 = ref_16566 # MOV operation
ref_16647 = ref_15027 # MOV operation
ref_16649 = ((ref_16635 - ref_16647) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_16657 = ref_16649 # MOV operation
ref_16729 = ref_16657 # MOV operation
ref_17988 = ref_278 # MOV operation
ref_18032 = ref_17988 # MOV operation
ref_18046 = ((ref_18032 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_18054 = ref_18046 # MOV operation
ref_18126 = ref_18054 # MOV operation
ref_19470 = ref_13457 # MOV operation
ref_19514 = ref_19470 # MOV operation
ref_19528 = ((0x20453EE3 + ref_19514) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_20111 = ref_278 # MOV operation
ref_20155 = ref_20111 # MOV operation
ref_20167 = ref_19528 # MOV operation
ref_20169 = ((ref_20155 - ref_20167) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_20177 = ref_20169 # MOV operation
ref_20249 = ref_20177 # MOV operation
ref_22332 = ref_13457 # MOV operation
ref_23198 = ref_18126 # MOV operation
ref_23242 = ref_23198 # MOV operation
ref_23254 = ref_22332 # MOV operation
ref_23256 = (ref_23254 | ref_23242) # OR operation
ref_23417 = ref_23256 # MOV operation
ref_23423 = (0x3F & ref_23417) # AND operation
ref_23584 = ref_23423 # MOV operation
ref_23592 = ((ref_23584 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_23599 = ref_23592 # MOV operation
ref_24317 = ref_13457 # MOV operation
ref_24361 = ref_24317 # MOV operation
ref_24373 = ref_23599 # MOV operation
ref_24375 = (ref_24373 | ref_24361) # OR operation
ref_24452 = ref_24375 # MOV operation
ref_25936 = ref_16729 # MOV operation
ref_26718 = ref_24452 # MOV operation
ref_26854 = ref_26718 # MOV operation
ref_26862 = (ref_26854 >> (0x1 & 0x3F)) # SHR operation
ref_26869 = ref_26862 # MOV operation
ref_27025 = ref_26869 # MOV operation
ref_27031 = (0xF & ref_27025) # AND operation
ref_27100 = ref_27031 # MOV operation
ref_27114 = (0x1 | ref_27100) # OR operation
ref_27279 = ref_27114 # MOV operation
ref_27281 = ((0x40 - ref_27279) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_27289 = ref_27281 # MOV operation
ref_27361 = ref_25936 # MOV operation
ref_27365 = ref_27289 # MOV operation
ref_27367 = (ref_27365 & 0xFFFFFFFF) # MOV operation
ref_27369 = ((ref_27361 << ((ref_27367 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_27376 = ref_27369 # MOV operation
ref_28038 = ref_16729 # MOV operation
ref_28820 = ref_24452 # MOV operation
ref_28956 = ref_28820 # MOV operation
ref_28964 = (ref_28956 >> (0x1 & 0x3F)) # SHR operation
ref_28971 = ref_28964 # MOV operation
ref_29127 = ref_28971 # MOV operation
ref_29133 = (0xF & ref_29127) # AND operation
ref_29202 = ref_29133 # MOV operation
ref_29216 = (0x1 | ref_29202) # OR operation
ref_29293 = ref_28038 # MOV operation
ref_29297 = ref_29216 # MOV operation
ref_29299 = (ref_29297 & 0xFFFFFFFF) # MOV operation
ref_29301 = (ref_29293 >> ((ref_29299 & 0xFF) & 0x3F)) # SHR operation
ref_29308 = ref_29301 # MOV operation
ref_29372 = ref_29308 # MOV operation
ref_29384 = ref_27376 # MOV operation
ref_29386 = (ref_29384 | ref_29372) # OR operation
ref_29463 = ref_29386 # MOV operation
ref_30723 = ref_20249 # MOV operation
ref_31589 = ref_29463 # MOV operation
ref_31633 = ref_31589 # MOV operation
ref_31645 = ref_30723 # MOV operation
ref_31647 = ((ref_31633 - ref_31645) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_31655 = ref_31647 # MOV operation
ref_31727 = ref_31655 # MOV operation
ref_33950 = ref_24452 # MOV operation
ref_34676 = ref_16729 # MOV operation
ref_34812 = ref_34676 # MOV operation
ref_34818 = (0xF & ref_34812) # AND operation
ref_34887 = ref_34818 # MOV operation
ref_34901 = (0x1 | ref_34887) # OR operation
ref_35066 = ref_34901 # MOV operation
ref_35068 = ((0x40 - ref_35066) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_35076 = ref_35068 # MOV operation
ref_35148 = ref_33950 # MOV operation
ref_35152 = ref_35076 # MOV operation
ref_35154 = (ref_35152 & 0xFFFFFFFF) # MOV operation
ref_35156 = ((ref_35148 << ((ref_35154 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_35163 = ref_35156 # MOV operation
ref_35825 = ref_24452 # MOV operation
ref_36551 = ref_16729 # MOV operation
ref_36687 = ref_36551 # MOV operation
ref_36693 = (0xF & ref_36687) # AND operation
ref_36762 = ref_36693 # MOV operation
ref_36776 = (0x1 | ref_36762) # OR operation
ref_36853 = ref_35825 # MOV operation
ref_36857 = ref_36776 # MOV operation
ref_36859 = (ref_36857 & 0xFFFFFFFF) # MOV operation
ref_36861 = (ref_36853 >> ((ref_36859 & 0xFF) & 0x3F)) # SHR operation
ref_36868 = ref_36861 # MOV operation
ref_36932 = ref_36868 # MOV operation
ref_36944 = ref_35163 # MOV operation
ref_36946 = (ref_36944 | ref_36932) # OR operation
ref_37697 = ref_20249 # MOV operation
ref_38339 = ref_31727 # MOV operation
ref_38383 = ref_38339 # MOV operation
ref_38395 = ref_37697 # MOV operation
ref_38397 = (ref_38395 | ref_38383) # OR operation
ref_38558 = ref_38397 # MOV operation
ref_38566 = (ref_38558 >> (0x1 & 0x3F)) # SHR operation
ref_38573 = ref_38566 # MOV operation
ref_38729 = ref_38573 # MOV operation
ref_38735 = (0x7 & ref_38729) # AND operation
ref_38804 = ref_38735 # MOV operation
ref_38818 = (0x1 | ref_38804) # OR operation
ref_38895 = ref_36946 # MOV operation
ref_38899 = ref_38818 # MOV operation
ref_38901 = (ref_38899 & 0xFFFFFFFF) # MOV operation
ref_38903 = ((ref_38895 << ((ref_38901 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38910 = ref_38903 # MOV operation
ref_38982 = ref_38910 # MOV operation
ref_39136 = ref_38982 # MOV operation
ref_39138 = ref_39136 # MOV operation

print ref_39138 & 0xffffffffffffffff
