#!/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_7019 = ref_278 # MOV operation
ref_7126 = ref_7019 # MOV operation
ref_7146 = (ref_7126 >> (0x7 & 0x3F)) # SHR operation
ref_8511 = ref_278 # MOV operation
ref_8663 = ref_8511 # MOV operation
ref_8683 = ((ref_8663 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_8831 = ref_7146 # MOV operation
ref_8847 = ref_8683 # MOV operation
ref_8849 = (ref_8831 | ref_8847) # OR operation
ref_8983 = ref_8849 # MOV operation
ref_11447 = ref_8983 # MOV operation
ref_11606 = ref_11447 # MOV operation
ref_11608 = ((0x2D4AF89B + ref_11606) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_11755 = ref_11608 # MOV operation
ref_11757 = (0x1D5ABF66 & ref_11755) # AND operation
ref_13122 = ref_278 # MOV operation
ref_13229 = ref_13122 # MOV operation
ref_13249 = (ref_13229 >> (0xB & 0x3F)) # SHR operation
ref_14614 = ref_278 # MOV operation
ref_14766 = ref_14614 # MOV operation
ref_14786 = ((ref_14766 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_14934 = ref_13249 # MOV operation
ref_14950 = ref_14786 # MOV operation
ref_14952 = (ref_14934 | ref_14950) # OR operation
ref_15100 = ref_14952 # MOV operation
ref_15116 = ref_11757 # MOV operation
ref_15118 = ((ref_15100 - ref_15116) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_15253 = ref_15118 # MOV operation
ref_17627 = ref_278 # MOV operation
ref_17770 = ref_17627 # MOV operation
ref_17788 = ((ref_17770 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_17923 = ref_17788 # MOV operation
ref_20107 = ref_8983 # MOV operation
ref_20398 = ref_20107 # MOV operation
ref_20408 = ((ref_20398 + 0x20453EE3) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_21634 = ref_278 # MOV operation
ref_21777 = ref_21634 # MOV operation
ref_21793 = ref_20408 # MOV operation
ref_21795 = ((ref_21777 - ref_21793) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_21930 = ref_21795 # MOV operation
ref_25696 = ref_8983 # MOV operation
ref_27487 = ref_17923 # MOV operation
ref_28831 = ref_8983 # MOV operation
ref_28974 = ref_27487 # MOV operation
ref_28990 = ref_28831 # MOV operation
ref_28992 = (ref_28974 | ref_28990) # OR operation
ref_29262 = ref_28992 # MOV operation
ref_29280 = (ref_29262 & 0x3F) # AND operation
ref_29437 = ref_29280 # MOV operation
ref_29457 = ((ref_29437 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_29605 = ref_25696 # MOV operation
ref_29621 = ref_29457 # MOV operation
ref_29623 = (ref_29605 | ref_29621) # OR operation
ref_29757 = ref_29623 # MOV operation
ref_32736 = ref_29757 # MOV operation
ref_32843 = ref_32736 # MOV operation
ref_32863 = (ref_32843 >> (0x1 & 0x3F)) # SHR operation
ref_33133 = ref_32863 # MOV operation
ref_33151 = (ref_33133 & 0xF) # AND operation
ref_33439 = ref_33151 # MOV operation
ref_33457 = (ref_33439 | 0x1) # OR operation
ref_34632 = ref_15253 # MOV operation
ref_34739 = ref_34632 # MOV operation
ref_34755 = ref_33457 # MOV operation
ref_34757 = (ref_34755 & 0xFFFFFFFF) # MOV operation
ref_34759 = (ref_34739 >> ((ref_34757 & 0xFF) & 0x3F)) # SHR operation
ref_36248 = ref_29757 # MOV operation
ref_36355 = ref_36248 # MOV operation
ref_36375 = (ref_36355 >> (0x1 & 0x3F)) # SHR operation
ref_36645 = ref_36375 # MOV operation
ref_36663 = (ref_36645 & 0xF) # AND operation
ref_36951 = ref_36663 # MOV operation
ref_36969 = (ref_36951 | 0x1) # OR operation
ref_37273 = ref_36969 # MOV operation
ref_37275 = ((0x40 - ref_37273) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_38451 = ref_15253 # MOV operation
ref_38603 = ref_38451 # MOV operation
ref_38619 = ref_37275 # MOV operation
ref_38621 = (ref_38619 & 0xFFFFFFFF) # MOV operation
ref_38623 = ((ref_38603 << ((ref_38621 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38771 = ref_34759 # MOV operation
ref_38787 = ref_38623 # MOV operation
ref_38789 = (ref_38771 | ref_38787) # OR operation
ref_38923 = ref_38789 # MOV operation
ref_41107 = ref_21930 # MOV operation
ref_42758 = ref_38923 # MOV operation
ref_42901 = ref_42758 # MOV operation
ref_42917 = ref_41107 # MOV operation
ref_42919 = ((ref_42901 - ref_42917) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_43054 = ref_42919 # MOV operation
ref_47264 = ref_43054 # MOV operation
ref_48434 = ref_21930 # MOV operation
ref_48577 = ref_47264 # MOV operation
ref_48593 = ref_48434 # MOV operation
ref_48595 = (ref_48577 | ref_48593) # OR operation
ref_48707 = ref_48595 # MOV operation
ref_48727 = (ref_48707 >> (0x1 & 0x3F)) # SHR operation
ref_48997 = ref_48727 # MOV operation
ref_49015 = (ref_48997 & 0x7) # AND operation
ref_49303 = ref_49015 # MOV operation
ref_49321 = (ref_49303 | 0x1) # OR operation
ref_50496 = ref_15253 # MOV operation
ref_50761 = ref_50496 # MOV operation
ref_50779 = (ref_50761 & 0xF) # AND operation
ref_51067 = ref_50779 # MOV operation
ref_51085 = (ref_51067 | 0x1) # OR operation
ref_52260 = ref_29757 # MOV operation
ref_52367 = ref_52260 # MOV operation
ref_52383 = ref_51085 # MOV operation
ref_52385 = (ref_52383 & 0xFFFFFFFF) # MOV operation
ref_52387 = (ref_52367 >> ((ref_52385 & 0xFF) & 0x3F)) # SHR operation
ref_53562 = ref_15253 # MOV operation
ref_53827 = ref_53562 # MOV operation
ref_53845 = (ref_53827 & 0xF) # AND operation
ref_54133 = ref_53845 # MOV operation
ref_54151 = (ref_54133 | 0x1) # OR operation
ref_54455 = ref_54151 # MOV operation
ref_54457 = ((0x40 - ref_54455) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_55633 = ref_29757 # MOV operation
ref_55785 = ref_55633 # MOV operation
ref_55801 = ref_54457 # MOV operation
ref_55803 = (ref_55801 & 0xFFFFFFFF) # MOV operation
ref_55805 = ((ref_55785 << ((ref_55803 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_55953 = ref_52387 # MOV operation
ref_55969 = ref_55805 # MOV operation
ref_55971 = (ref_55953 | ref_55969) # OR operation
ref_56128 = ref_55971 # MOV operation
ref_56144 = ref_49321 # MOV operation
ref_56146 = (ref_56144 & 0xFFFFFFFF) # MOV operation
ref_56148 = ((ref_56128 << ((ref_56146 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_56282 = ref_56148 # MOV operation
ref_56514 = ref_56282 # MOV operation
ref_56516 = ref_56514 # MOV operation

print ref_56516 & 0xffffffffffffffff
