#!/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_250 = SymVar_0
ref_261 = ref_250 # MOV operation
ref_273 = ref_261 # MOV operation
ref_275 = ref_273 # MOV operation
ref_309 = ((ref_275 >> 56) & 0xFF) # Byte reference - MOV operation
ref_310 = ((ref_275 >> 48) & 0xFF) # Byte reference - MOV operation
ref_311 = ((ref_275 >> 40) & 0xFF) # Byte reference - MOV operation
ref_312 = ((ref_275 >> 32) & 0xFF) # Byte reference - MOV operation
ref_313 = ((ref_275 >> 24) & 0xFF) # Byte reference - MOV operation
ref_314 = ((ref_275 >> 16) & 0xFF) # Byte reference - MOV operation
ref_315 = ((ref_275 >> 8) & 0xFF) # Byte reference - MOV operation
ref_316 = (ref_275 & 0xFF) # Byte reference - MOV operation
ref_8389 = ref_316 # MOVZX operation
ref_8455 = (ref_8389 & 0xFF) # MOVZX operation
ref_8457 = (ref_8455 & 0xFF) # MOVZX operation
ref_8741 = (ref_8457 & 0xFFFFFFFF) # MOV operation
ref_8743 = (((ref_8741 & 0xFFFFFFFF) + 0x1) & 0xFFFFFFFF) # ADD operation
ref_9118 = (ref_8743 & 0xFFFFFFFF) # MOV operation
ref_9127 = ((((0x0) << 32 | (ref_9118 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_9129 = (ref_9127 & 0xFFFFFFFF) # MOV operation
ref_9229 = (ref_9129 & 0xFFFFFFFF) # MOV operation
ref_9577 = (ref_9229 & 0xFFFFFFFF) # MOV operation
ref_9861 = (ref_9577 & 0xFFFFFFFF) # MOV operation
ref_9863 = (((ref_9861 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_10238 = (ref_9863 & 0xFFFFFFFF) # MOV operation
ref_10247 = ((((0x0) << 32 | (ref_10238 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_10249 = (ref_10247 & 0xFFFFFFFF) # MOV operation
ref_10349 = (ref_10249 & 0xFFFFFFFF) # MOV operation
ref_12788 = ref_315 # MOVZX operation
ref_12854 = (ref_12788 & 0xFF) # MOVZX operation
ref_12856 = (ref_12854 & 0xFF) # MOVZX operation
ref_13056 = (ref_9229 & 0xFFFFFFFF) # MOV operation
ref_13128 = (ref_13056 & 0xFFFFFFFF) # MOV operation
ref_13140 = (ref_12856 & 0xFFFFFFFF) # MOV operation
ref_13142 = (((ref_13140 & 0xFFFFFFFF) + (ref_13128 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_13517 = (ref_13142 & 0xFFFFFFFF) # MOV operation
ref_13526 = ((((0x0) << 32 | (ref_13517 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_13528 = (ref_13526 & 0xFFFFFFFF) # MOV operation
ref_13628 = (ref_13528 & 0xFFFFFFFF) # MOV operation
ref_13976 = (ref_13628 & 0xFFFFFFFF) # MOV operation
ref_14176 = (ref_10349 & 0xFFFFFFFF) # MOV operation
ref_14248 = (ref_14176 & 0xFFFFFFFF) # MOV operation
ref_14260 = (ref_13976 & 0xFFFFFFFF) # MOV operation
ref_14262 = (((ref_14260 & 0xFFFFFFFF) + (ref_14248 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14637 = (ref_14262 & 0xFFFFFFFF) # MOV operation
ref_14646 = ((((0x0) << 32 | (ref_14637 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_14648 = (ref_14646 & 0xFFFFFFFF) # MOV operation
ref_14748 = (ref_14648 & 0xFFFFFFFF) # MOV operation
ref_17187 = ref_314 # MOVZX operation
ref_17253 = (ref_17187 & 0xFF) # MOVZX operation
ref_17255 = (ref_17253 & 0xFF) # MOVZX operation
ref_17455 = (ref_13628 & 0xFFFFFFFF) # MOV operation
ref_17527 = (ref_17455 & 0xFFFFFFFF) # MOV operation
ref_17539 = (ref_17255 & 0xFFFFFFFF) # MOV operation
ref_17541 = (((ref_17539 & 0xFFFFFFFF) + (ref_17527 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_17916 = (ref_17541 & 0xFFFFFFFF) # MOV operation
ref_17925 = ((((0x0) << 32 | (ref_17916 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_17927 = (ref_17925 & 0xFFFFFFFF) # MOV operation
ref_18027 = (ref_17927 & 0xFFFFFFFF) # MOV operation
ref_18375 = (ref_18027 & 0xFFFFFFFF) # MOV operation
ref_18575 = (ref_14748 & 0xFFFFFFFF) # MOV operation
ref_18647 = (ref_18575 & 0xFFFFFFFF) # MOV operation
ref_18659 = (ref_18375 & 0xFFFFFFFF) # MOV operation
ref_18661 = (((ref_18659 & 0xFFFFFFFF) + (ref_18647 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_19036 = (ref_18661 & 0xFFFFFFFF) # MOV operation
ref_19045 = ((((0x0) << 32 | (ref_19036 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_19047 = (ref_19045 & 0xFFFFFFFF) # MOV operation
ref_19147 = (ref_19047 & 0xFFFFFFFF) # MOV operation
ref_21586 = ref_313 # MOVZX operation
ref_21652 = (ref_21586 & 0xFF) # MOVZX operation
ref_21654 = (ref_21652 & 0xFF) # MOVZX operation
ref_21854 = (ref_18027 & 0xFFFFFFFF) # MOV operation
ref_21926 = (ref_21854 & 0xFFFFFFFF) # MOV operation
ref_21938 = (ref_21654 & 0xFFFFFFFF) # MOV operation
ref_21940 = (((ref_21938 & 0xFFFFFFFF) + (ref_21926 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_22315 = (ref_21940 & 0xFFFFFFFF) # MOV operation
ref_22324 = ((((0x0) << 32 | (ref_22315 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_22326 = (ref_22324 & 0xFFFFFFFF) # MOV operation
ref_22426 = (ref_22326 & 0xFFFFFFFF) # MOV operation
ref_22774 = (ref_22426 & 0xFFFFFFFF) # MOV operation
ref_22974 = (ref_19147 & 0xFFFFFFFF) # MOV operation
ref_23046 = (ref_22974 & 0xFFFFFFFF) # MOV operation
ref_23058 = (ref_22774 & 0xFFFFFFFF) # MOV operation
ref_23060 = (((ref_23058 & 0xFFFFFFFF) + (ref_23046 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_23435 = (ref_23060 & 0xFFFFFFFF) # MOV operation
ref_23444 = ((((0x0) << 32 | (ref_23435 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_23446 = (ref_23444 & 0xFFFFFFFF) # MOV operation
ref_23546 = (ref_23446 & 0xFFFFFFFF) # MOV operation
ref_25985 = ref_312 # MOVZX operation
ref_26051 = (ref_25985 & 0xFF) # MOVZX operation
ref_26053 = (ref_26051 & 0xFF) # MOVZX operation
ref_26253 = (ref_22426 & 0xFFFFFFFF) # MOV operation
ref_26325 = (ref_26253 & 0xFFFFFFFF) # MOV operation
ref_26337 = (ref_26053 & 0xFFFFFFFF) # MOV operation
ref_26339 = (((ref_26337 & 0xFFFFFFFF) + (ref_26325 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_26714 = (ref_26339 & 0xFFFFFFFF) # MOV operation
ref_26723 = ((((0x0) << 32 | (ref_26714 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_26725 = (ref_26723 & 0xFFFFFFFF) # MOV operation
ref_26825 = (ref_26725 & 0xFFFFFFFF) # MOV operation
ref_27173 = (ref_26825 & 0xFFFFFFFF) # MOV operation
ref_27373 = (ref_23546 & 0xFFFFFFFF) # MOV operation
ref_27445 = (ref_27373 & 0xFFFFFFFF) # MOV operation
ref_27457 = (ref_27173 & 0xFFFFFFFF) # MOV operation
ref_27459 = (((ref_27457 & 0xFFFFFFFF) + (ref_27445 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_27834 = (ref_27459 & 0xFFFFFFFF) # MOV operation
ref_27843 = ((((0x0) << 32 | (ref_27834 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_27845 = (ref_27843 & 0xFFFFFFFF) # MOV operation
ref_27945 = (ref_27845 & 0xFFFFFFFF) # MOV operation
ref_30384 = ref_311 # MOVZX operation
ref_30450 = (ref_30384 & 0xFF) # MOVZX operation
ref_30452 = (ref_30450 & 0xFF) # MOVZX operation
ref_30652 = (ref_26825 & 0xFFFFFFFF) # MOV operation
ref_30724 = (ref_30652 & 0xFFFFFFFF) # MOV operation
ref_30736 = (ref_30452 & 0xFFFFFFFF) # MOV operation
ref_30738 = (((ref_30736 & 0xFFFFFFFF) + (ref_30724 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_31113 = (ref_30738 & 0xFFFFFFFF) # MOV operation
ref_31122 = ((((0x0) << 32 | (ref_31113 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_31124 = (ref_31122 & 0xFFFFFFFF) # MOV operation
ref_31224 = (ref_31124 & 0xFFFFFFFF) # MOV operation
ref_31572 = (ref_31224 & 0xFFFFFFFF) # MOV operation
ref_31772 = (ref_27945 & 0xFFFFFFFF) # MOV operation
ref_31844 = (ref_31772 & 0xFFFFFFFF) # MOV operation
ref_31856 = (ref_31572 & 0xFFFFFFFF) # MOV operation
ref_31858 = (((ref_31856 & 0xFFFFFFFF) + (ref_31844 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_32233 = (ref_31858 & 0xFFFFFFFF) # MOV operation
ref_32242 = ((((0x0) << 32 | (ref_32233 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_32244 = (ref_32242 & 0xFFFFFFFF) # MOV operation
ref_32344 = (ref_32244 & 0xFFFFFFFF) # MOV operation
ref_34783 = ref_310 # MOVZX operation
ref_34849 = (ref_34783 & 0xFF) # MOVZX operation
ref_34851 = (ref_34849 & 0xFF) # MOVZX operation
ref_35051 = (ref_31224 & 0xFFFFFFFF) # MOV operation
ref_35123 = (ref_35051 & 0xFFFFFFFF) # MOV operation
ref_35135 = (ref_34851 & 0xFFFFFFFF) # MOV operation
ref_35137 = (((ref_35135 & 0xFFFFFFFF) + (ref_35123 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_35512 = (ref_35137 & 0xFFFFFFFF) # MOV operation
ref_35521 = ((((0x0) << 32 | (ref_35512 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_35523 = (ref_35521 & 0xFFFFFFFF) # MOV operation
ref_35623 = (ref_35523 & 0xFFFFFFFF) # MOV operation
ref_35971 = (ref_35623 & 0xFFFFFFFF) # MOV operation
ref_36171 = (ref_32344 & 0xFFFFFFFF) # MOV operation
ref_36243 = (ref_36171 & 0xFFFFFFFF) # MOV operation
ref_36255 = (ref_35971 & 0xFFFFFFFF) # MOV operation
ref_36257 = (((ref_36255 & 0xFFFFFFFF) + (ref_36243 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_36632 = (ref_36257 & 0xFFFFFFFF) # MOV operation
ref_36641 = ((((0x0) << 32 | (ref_36632 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_36643 = (ref_36641 & 0xFFFFFFFF) # MOV operation
ref_36743 = (ref_36643 & 0xFFFFFFFF) # MOV operation
ref_39182 = ref_309 # MOVZX operation
ref_39248 = (ref_39182 & 0xFF) # MOVZX operation
ref_39250 = (ref_39248 & 0xFF) # MOVZX operation
ref_39450 = (ref_35623 & 0xFFFFFFFF) # MOV operation
ref_39522 = (ref_39450 & 0xFFFFFFFF) # MOV operation
ref_39534 = (ref_39250 & 0xFFFFFFFF) # MOV operation
ref_39536 = (((ref_39534 & 0xFFFFFFFF) + (ref_39522 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_39911 = (ref_39536 & 0xFFFFFFFF) # MOV operation
ref_39920 = ((((0x0) << 32 | (ref_39911 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_39922 = (ref_39920 & 0xFFFFFFFF) # MOV operation
ref_40022 = (ref_39922 & 0xFFFFFFFF) # MOV operation
ref_40370 = (ref_40022 & 0xFFFFFFFF) # MOV operation
ref_40570 = (ref_36743 & 0xFFFFFFFF) # MOV operation
ref_40642 = (ref_40570 & 0xFFFFFFFF) # MOV operation
ref_40654 = (ref_40370 & 0xFFFFFFFF) # MOV operation
ref_40656 = (((ref_40654 & 0xFFFFFFFF) + (ref_40642 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_41031 = (ref_40656 & 0xFFFFFFFF) # MOV operation
ref_41040 = ((((0x0) << 32 | (ref_41031 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_41042 = (ref_41040 & 0xFFFFFFFF) # MOV operation
ref_41142 = (ref_41042 & 0xFFFFFFFF) # MOV operation
ref_43044 = (ref_41142 & 0xFFFFFFFF) # MOV operation
ref_43236 = (ref_43044 & 0xFFFFFFFF) # MOV operation
ref_43244 = (((ref_43236 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_43251 = (ref_43244 & 0xFFFFFFFF) # MOV operation
ref_43471 = (ref_40022 & 0xFFFFFFFF) # MOV operation
ref_43551 = (ref_43251 & 0xFFFFFFFF) # MOV operation
ref_43555 = (ref_43471 & 0xFFFFFFFF) # MOV operation
ref_43557 = ((ref_43555 & 0xFFFFFFFF) | (ref_43551 & 0xFFFFFFFF)) # OR operation
ref_43662 = (ref_43557 & 0xFFFFFFFF) # MOV operation
ref_43966 = (ref_43662 & 0xFFFFFFFF) # MOV operation
ref_44034 = (ref_43966 & 0xFFFFFFFF) # MOV operation
ref_44058 = (ref_44034 & 0xFFFFFFFF) # MOV operation
ref_44066 = (ref_44058 & 0xFFFFFFFF) # MOV operation
ref_44068 = (ref_44066 & 0xFFFFFFFF) # MOV operation

print ref_44068 & 0xffffffffffffffff
