#!/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_5478 = ref_278 # MOV operation
ref_5678 = ref_5478 # MOV operation
ref_5686 = ((ref_5678 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_5693 = ref_5686 # MOV operation
ref_6642 = ref_278 # MOV operation
ref_6718 = ref_6642 # MOV operation
ref_6732 = (ref_6718 >> (0x7 & 0x3F)) # SHR operation
ref_6833 = ref_6732 # MOV operation
ref_6845 = ref_5693 # MOV operation
ref_6847 = (ref_6845 | ref_6833) # OR operation
ref_7778 = ref_6847 # MOV operation
ref_9634 = ref_7778 # MOV operation
ref_9722 = ref_9634 # MOV operation
ref_9724 = ((ref_9722 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9954 = ref_9724 # MOV operation
ref_9956 = (ref_9954 & 0x1D5ABF66) # AND operation
ref_10794 = ref_278 # MOV operation
ref_10994 = ref_10794 # MOV operation
ref_11002 = ((ref_10994 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_11009 = ref_11002 # MOV operation
ref_11958 = ref_278 # MOV operation
ref_12034 = ref_11958 # MOV operation
ref_12048 = (ref_12034 >> (0xB & 0x3F)) # SHR operation
ref_12149 = ref_12048 # MOV operation
ref_12161 = ref_11009 # MOV operation
ref_12163 = (ref_12161 | ref_12149) # OR operation
ref_12264 = ref_12163 # MOV operation
ref_12276 = ref_9956 # MOV operation
ref_12278 = ((ref_12264 - ref_12276) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_12286 = ref_12278 # MOV operation
ref_12390 = ref_12286 # MOV operation
ref_14045 = ref_278 # MOV operation
ref_14245 = ref_14045 # MOV operation
ref_14251 = ((ref_14245 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_14259 = ref_14251 # MOV operation
ref_14363 = ref_14259 # MOV operation
ref_15196 = ref_278 # MOV operation
ref_16210 = ref_7778 # MOV operation
ref_16286 = ref_16210 # MOV operation
ref_16300 = ((0x20453EE3 + ref_16286) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_16410 = ref_15196 # MOV operation
ref_16414 = ref_16300 # MOV operation
ref_16416 = ((ref_16410 - ref_16414) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_16424 = ref_16416 # MOV operation
ref_17350 = ref_16424 # MOV operation
ref_20367 = ref_7778 # MOV operation
ref_21585 = ref_14363 # MOV operation
ref_21661 = ref_21585 # MOV operation
ref_21673 = ref_20367 # MOV operation
ref_21675 = (ref_21673 | ref_21661) # OR operation
ref_21900 = ref_21675 # MOV operation
ref_21906 = (0x3F & ref_21900) # AND operation
ref_22007 = ref_21906 # MOV operation
ref_22021 = ((ref_22007 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_23032 = ref_7778 # MOV operation
ref_23108 = ref_23032 # MOV operation
ref_23120 = ref_22021 # MOV operation
ref_23122 = (ref_23120 | ref_23108) # OR operation
ref_23231 = ref_23122 # MOV operation
ref_25611 = ref_23231 # MOV operation
ref_25687 = ref_25611 # MOV operation
ref_25701 = (ref_25687 >> (0x1 & 0x3F)) # SHR operation
ref_25802 = ref_25701 # MOV operation
ref_25816 = (0xF & ref_25802) # AND operation
ref_26041 = ref_25816 # MOV operation
ref_26047 = (0x1 | ref_26041) # OR operation
ref_26276 = ref_26047 # MOV operation
ref_26278 = ((0x40 - ref_26276) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_26286 = ref_26278 # MOV operation
ref_27204 = ref_12390 # MOV operation
ref_27280 = ref_27204 # MOV operation
ref_27292 = ref_26286 # MOV operation
ref_27294 = ((ref_27280 << ((ref_27292 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_28421 = ref_23231 # MOV operation
ref_28497 = ref_28421 # MOV operation
ref_28511 = (ref_28497 >> (0x1 & 0x3F)) # SHR operation
ref_28736 = ref_28511 # MOV operation
ref_28742 = (0xF & ref_28736) # AND operation
ref_28967 = ref_28742 # MOV operation
ref_28973 = (0x1 | ref_28967) # OR operation
ref_29896 = ref_12390 # MOV operation
ref_29972 = ref_29896 # MOV operation
ref_29984 = ref_28973 # MOV operation
ref_29986 = (ref_29972 >> ((ref_29984 & 0xFF) & 0x3F)) # SHR operation
ref_30087 = ref_29986 # MOV operation
ref_30099 = ref_27294 # MOV operation
ref_30101 = (ref_30099 | ref_30087) # OR operation
ref_30210 = ref_30101 # MOV operation
ref_32270 = ref_30210 # MOV operation
ref_33168 = ref_17350 # MOV operation
ref_33252 = ref_32270 # MOV operation
ref_33256 = ref_33168 # MOV operation
ref_33258 = ((ref_33252 - ref_33256) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_33266 = ref_33258 # MOV operation
ref_33370 = ref_33266 # MOV operation
ref_36848 = ref_17350 # MOV operation
ref_37746 = ref_33370 # MOV operation
ref_37822 = ref_37746 # MOV operation
ref_37834 = ref_36848 # MOV operation
ref_37836 = (ref_37834 | ref_37822) # OR operation
ref_37937 = ref_37836 # MOV operation
ref_37951 = (ref_37937 >> (0x1 & 0x3F)) # SHR operation
ref_38052 = ref_37951 # MOV operation
ref_38066 = (0x7 & ref_38052) # AND operation
ref_38167 = ref_38066 # MOV operation
ref_38181 = (0x1 | ref_38167) # OR operation
ref_39104 = ref_12390 # MOV operation
ref_39304 = ref_39104 # MOV operation
ref_39310 = (0xF & ref_39304) # AND operation
ref_39535 = ref_39310 # MOV operation
ref_39541 = (0x1 | ref_39535) # OR operation
ref_40464 = ref_23231 # MOV operation
ref_40540 = ref_40464 # MOV operation
ref_40552 = ref_39541 # MOV operation
ref_40554 = (ref_40540 >> ((ref_40552 & 0xFF) & 0x3F)) # SHR operation
ref_41477 = ref_12390 # MOV operation
ref_41677 = ref_41477 # MOV operation
ref_41683 = (0xF & ref_41677) # AND operation
ref_41908 = ref_41683 # MOV operation
ref_41914 = (0x1 | ref_41908) # OR operation
ref_42143 = ref_41914 # MOV operation
ref_42145 = ((0x40 - ref_42143) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_42153 = ref_42145 # MOV operation
ref_43071 = ref_23231 # MOV operation
ref_43147 = ref_43071 # MOV operation
ref_43159 = ref_42153 # MOV operation
ref_43161 = ((ref_43147 << ((ref_43159 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_43270 = ref_40554 # MOV operation
ref_43274 = ref_43161 # MOV operation
ref_43276 = (ref_43274 | ref_43270) # OR operation
ref_43377 = ref_43276 # MOV operation
ref_43389 = ref_38181 # MOV operation
ref_43391 = ((ref_43377 << ((ref_43389 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_43500 = ref_43391 # MOV operation
ref_43711 = ref_43500 # MOV operation
ref_43713 = ref_43711 # MOV operation

print ref_43713 & 0xffffffffffffffff
