#!/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_9846 = (ref_9229 & 0xFFFFFFFF) # MOV operation
ref_10130 = (ref_9846 & 0xFFFFFFFF) # MOV operation
ref_10132 = (((ref_10130 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_10230 = (ref_10132 & 0xFFFFFFFF) # MOV operation
ref_10247 = ((((0x0) << 32 | (ref_10230 & 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_14245 = (ref_13628 & 0xFFFFFFFF) # MOV operation
ref_14445 = (ref_10349 & 0xFFFFFFFF) # MOV operation
ref_14517 = (ref_14445 & 0xFFFFFFFF) # MOV operation
ref_14529 = (ref_14245 & 0xFFFFFFFF) # MOV operation
ref_14531 = (((ref_14529 & 0xFFFFFFFF) + (ref_14517 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14629 = (ref_14531 & 0xFFFFFFFF) # MOV operation
ref_14646 = ((((0x0) << 32 | (ref_14629 & 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_18644 = (ref_18027 & 0xFFFFFFFF) # MOV operation
ref_18844 = (ref_14748 & 0xFFFFFFFF) # MOV operation
ref_18916 = (ref_18844 & 0xFFFFFFFF) # MOV operation
ref_18928 = (ref_18644 & 0xFFFFFFFF) # MOV operation
ref_18930 = (((ref_18928 & 0xFFFFFFFF) + (ref_18916 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_19028 = (ref_18930 & 0xFFFFFFFF) # MOV operation
ref_19045 = ((((0x0) << 32 | (ref_19028 & 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_23043 = (ref_22426 & 0xFFFFFFFF) # MOV operation
ref_23243 = (ref_19147 & 0xFFFFFFFF) # MOV operation
ref_23315 = (ref_23243 & 0xFFFFFFFF) # MOV operation
ref_23327 = (ref_23043 & 0xFFFFFFFF) # MOV operation
ref_23329 = (((ref_23327 & 0xFFFFFFFF) + (ref_23315 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_23427 = (ref_23329 & 0xFFFFFFFF) # MOV operation
ref_23444 = ((((0x0) << 32 | (ref_23427 & 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_27442 = (ref_26825 & 0xFFFFFFFF) # MOV operation
ref_27642 = (ref_23546 & 0xFFFFFFFF) # MOV operation
ref_27714 = (ref_27642 & 0xFFFFFFFF) # MOV operation
ref_27726 = (ref_27442 & 0xFFFFFFFF) # MOV operation
ref_27728 = (((ref_27726 & 0xFFFFFFFF) + (ref_27714 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_27826 = (ref_27728 & 0xFFFFFFFF) # MOV operation
ref_27843 = ((((0x0) << 32 | (ref_27826 & 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_31841 = (ref_31224 & 0xFFFFFFFF) # MOV operation
ref_32041 = (ref_27945 & 0xFFFFFFFF) # MOV operation
ref_32113 = (ref_32041 & 0xFFFFFFFF) # MOV operation
ref_32125 = (ref_31841 & 0xFFFFFFFF) # MOV operation
ref_32127 = (((ref_32125 & 0xFFFFFFFF) + (ref_32113 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_32225 = (ref_32127 & 0xFFFFFFFF) # MOV operation
ref_32242 = ((((0x0) << 32 | (ref_32225 & 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_36240 = (ref_35623 & 0xFFFFFFFF) # MOV operation
ref_36440 = (ref_32344 & 0xFFFFFFFF) # MOV operation
ref_36512 = (ref_36440 & 0xFFFFFFFF) # MOV operation
ref_36524 = (ref_36240 & 0xFFFFFFFF) # MOV operation
ref_36526 = (((ref_36524 & 0xFFFFFFFF) + (ref_36512 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_36624 = (ref_36526 & 0xFFFFFFFF) # MOV operation
ref_36641 = ((((0x0) << 32 | (ref_36624 & 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_40639 = (ref_40022 & 0xFFFFFFFF) # MOV operation
ref_40839 = (ref_36743 & 0xFFFFFFFF) # MOV operation
ref_40911 = (ref_40839 & 0xFFFFFFFF) # MOV operation
ref_40923 = (ref_40639 & 0xFFFFFFFF) # MOV operation
ref_40925 = (((ref_40923 & 0xFFFFFFFF) + (ref_40911 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_41023 = (ref_40925 & 0xFFFFFFFF) # MOV operation
ref_41040 = ((((0x0) << 32 | (ref_41023 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_41042 = (ref_41040 & 0xFFFFFFFF) # MOV operation
ref_41142 = (ref_41042 & 0xFFFFFFFF) # MOV operation
ref_43044 = (ref_40022 & 0xFFFFFFFF) # MOV operation
ref_43244 = (ref_41142 & 0xFFFFFFFF) # MOV operation
ref_43436 = (ref_43244 & 0xFFFFFFFF) # MOV operation
ref_43444 = (((ref_43436 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_43451 = (ref_43444 & 0xFFFFFFFF) # MOV operation
ref_43543 = (ref_43451 & 0xFFFFFFFF) # MOV operation
ref_43555 = (ref_43044 & 0xFFFFFFFF) # MOV operation
ref_43557 = ((ref_43555 & 0xFFFFFFFF) | (ref_43543 & 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
