#!/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_6132 = ref_316 # MOVZX operation
ref_6150 = (ref_6132 & 0xFF) # MOVZX operation
ref_6152 = (ref_6150 & 0xFF) # MOVZX operation
ref_6260 = (ref_6152 & 0xFFFFFFFF) # MOV operation
ref_6262 = (((ref_6260 & 0xFFFFFFFF) + 0x1) & 0xFFFFFFFF) # ADD operation
ref_6571 = (ref_6262 & 0xFFFFFFFF) # MOV operation
ref_6580 = ((((0x0) << 32 | (ref_6571 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_6582 = (ref_6580 & 0xFFFFFFFF) # MOV operation
ref_6612 = (ref_6582 & 0xFFFFFFFF) # MOV operation
ref_6710 = (ref_6612 & 0xFFFFFFFF) # MOV operation
ref_6786 = (ref_6710 & 0xFFFFFFFF) # MOV operation
ref_6788 = (((ref_6786 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_7079 = (ref_6788 & 0xFFFFFFFF) # MOV operation
ref_7088 = ((((0x0) << 32 | (ref_7079 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_7090 = (ref_7088 & 0xFFFFFFFF) # MOV operation
ref_7120 = (ref_7090 & 0xFFFFFFFF) # MOV operation
ref_8164 = ref_315 # MOVZX operation
ref_8182 = (ref_8164 & 0xFF) # MOVZX operation
ref_8184 = (ref_8182 & 0xFF) # MOVZX operation
ref_8252 = (ref_6612 & 0xFFFFFFFF) # MOV operation
ref_8280 = (ref_8252 & 0xFFFFFFFF) # MOV operation
ref_8292 = (ref_8184 & 0xFFFFFFFF) # MOV operation
ref_8294 = (((ref_8292 & 0xFFFFFFFF) + (ref_8280 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_8603 = (ref_8294 & 0xFFFFFFFF) # MOV operation
ref_8612 = ((((0x0) << 32 | (ref_8603 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_8614 = (ref_8612 & 0xFFFFFFFF) # MOV operation
ref_8644 = (ref_8614 & 0xFFFFFFFF) # MOV operation
ref_8742 = (ref_8644 & 0xFFFFFFFF) # MOV operation
ref_8792 = (ref_7120 & 0xFFFFFFFF) # MOV operation
ref_8806 = (ref_8792 & 0xFFFFFFFF) # MOV operation
ref_8818 = (ref_8742 & 0xFFFFFFFF) # MOV operation
ref_8820 = (((ref_8818 & 0xFFFFFFFF) + (ref_8806 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_9111 = (ref_8820 & 0xFFFFFFFF) # MOV operation
ref_9120 = ((((0x0) << 32 | (ref_9111 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_9122 = (ref_9120 & 0xFFFFFFFF) # MOV operation
ref_9152 = (ref_9122 & 0xFFFFFFFF) # MOV operation
ref_10196 = ref_314 # MOVZX operation
ref_10214 = (ref_10196 & 0xFF) # MOVZX operation
ref_10216 = (ref_10214 & 0xFF) # MOVZX operation
ref_10284 = (ref_8644 & 0xFFFFFFFF) # MOV operation
ref_10312 = (ref_10284 & 0xFFFFFFFF) # MOV operation
ref_10324 = (ref_10216 & 0xFFFFFFFF) # MOV operation
ref_10326 = (((ref_10324 & 0xFFFFFFFF) + (ref_10312 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_10635 = (ref_10326 & 0xFFFFFFFF) # MOV operation
ref_10644 = ((((0x0) << 32 | (ref_10635 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_10646 = (ref_10644 & 0xFFFFFFFF) # MOV operation
ref_10676 = (ref_10646 & 0xFFFFFFFF) # MOV operation
ref_10774 = (ref_10676 & 0xFFFFFFFF) # MOV operation
ref_10824 = (ref_9152 & 0xFFFFFFFF) # MOV operation
ref_10838 = (ref_10824 & 0xFFFFFFFF) # MOV operation
ref_10850 = (ref_10774 & 0xFFFFFFFF) # MOV operation
ref_10852 = (((ref_10850 & 0xFFFFFFFF) + (ref_10838 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_11143 = (ref_10852 & 0xFFFFFFFF) # MOV operation
ref_11152 = ((((0x0) << 32 | (ref_11143 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_11154 = (ref_11152 & 0xFFFFFFFF) # MOV operation
ref_11184 = (ref_11154 & 0xFFFFFFFF) # MOV operation
ref_12228 = ref_313 # MOVZX operation
ref_12246 = (ref_12228 & 0xFF) # MOVZX operation
ref_12248 = (ref_12246 & 0xFF) # MOVZX operation
ref_12316 = (ref_10676 & 0xFFFFFFFF) # MOV operation
ref_12344 = (ref_12316 & 0xFFFFFFFF) # MOV operation
ref_12356 = (ref_12248 & 0xFFFFFFFF) # MOV operation
ref_12358 = (((ref_12356 & 0xFFFFFFFF) + (ref_12344 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_12667 = (ref_12358 & 0xFFFFFFFF) # MOV operation
ref_12676 = ((((0x0) << 32 | (ref_12667 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_12678 = (ref_12676 & 0xFFFFFFFF) # MOV operation
ref_12708 = (ref_12678 & 0xFFFFFFFF) # MOV operation
ref_12806 = (ref_12708 & 0xFFFFFFFF) # MOV operation
ref_12856 = (ref_11184 & 0xFFFFFFFF) # MOV operation
ref_12870 = (ref_12856 & 0xFFFFFFFF) # MOV operation
ref_12882 = (ref_12806 & 0xFFFFFFFF) # MOV operation
ref_12884 = (((ref_12882 & 0xFFFFFFFF) + (ref_12870 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_13175 = (ref_12884 & 0xFFFFFFFF) # MOV operation
ref_13184 = ((((0x0) << 32 | (ref_13175 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_13186 = (ref_13184 & 0xFFFFFFFF) # MOV operation
ref_13216 = (ref_13186 & 0xFFFFFFFF) # MOV operation
ref_14260 = ref_312 # MOVZX operation
ref_14278 = (ref_14260 & 0xFF) # MOVZX operation
ref_14280 = (ref_14278 & 0xFF) # MOVZX operation
ref_14348 = (ref_12708 & 0xFFFFFFFF) # MOV operation
ref_14376 = (ref_14348 & 0xFFFFFFFF) # MOV operation
ref_14388 = (ref_14280 & 0xFFFFFFFF) # MOV operation
ref_14390 = (((ref_14388 & 0xFFFFFFFF) + (ref_14376 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14699 = (ref_14390 & 0xFFFFFFFF) # MOV operation
ref_14708 = ((((0x0) << 32 | (ref_14699 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_14710 = (ref_14708 & 0xFFFFFFFF) # MOV operation
ref_14740 = (ref_14710 & 0xFFFFFFFF) # MOV operation
ref_14838 = (ref_14740 & 0xFFFFFFFF) # MOV operation
ref_14888 = (ref_13216 & 0xFFFFFFFF) # MOV operation
ref_14902 = (ref_14888 & 0xFFFFFFFF) # MOV operation
ref_14914 = (ref_14838 & 0xFFFFFFFF) # MOV operation
ref_14916 = (((ref_14914 & 0xFFFFFFFF) + (ref_14902 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_15207 = (ref_14916 & 0xFFFFFFFF) # MOV operation
ref_15216 = ((((0x0) << 32 | (ref_15207 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_15218 = (ref_15216 & 0xFFFFFFFF) # MOV operation
ref_15248 = (ref_15218 & 0xFFFFFFFF) # MOV operation
ref_16292 = ref_311 # MOVZX operation
ref_16310 = (ref_16292 & 0xFF) # MOVZX operation
ref_16312 = (ref_16310 & 0xFF) # MOVZX operation
ref_16380 = (ref_14740 & 0xFFFFFFFF) # MOV operation
ref_16408 = (ref_16380 & 0xFFFFFFFF) # MOV operation
ref_16420 = (ref_16312 & 0xFFFFFFFF) # MOV operation
ref_16422 = (((ref_16420 & 0xFFFFFFFF) + (ref_16408 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_16731 = (ref_16422 & 0xFFFFFFFF) # MOV operation
ref_16740 = ((((0x0) << 32 | (ref_16731 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_16742 = (ref_16740 & 0xFFFFFFFF) # MOV operation
ref_16772 = (ref_16742 & 0xFFFFFFFF) # MOV operation
ref_16870 = (ref_16772 & 0xFFFFFFFF) # MOV operation
ref_16920 = (ref_15248 & 0xFFFFFFFF) # MOV operation
ref_16934 = (ref_16920 & 0xFFFFFFFF) # MOV operation
ref_16946 = (ref_16870 & 0xFFFFFFFF) # MOV operation
ref_16948 = (((ref_16946 & 0xFFFFFFFF) + (ref_16934 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_17239 = (ref_16948 & 0xFFFFFFFF) # MOV operation
ref_17248 = ((((0x0) << 32 | (ref_17239 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_17250 = (ref_17248 & 0xFFFFFFFF) # MOV operation
ref_17280 = (ref_17250 & 0xFFFFFFFF) # MOV operation
ref_18324 = ref_310 # MOVZX operation
ref_18342 = (ref_18324 & 0xFF) # MOVZX operation
ref_18344 = (ref_18342 & 0xFF) # MOVZX operation
ref_18412 = (ref_16772 & 0xFFFFFFFF) # MOV operation
ref_18440 = (ref_18412 & 0xFFFFFFFF) # MOV operation
ref_18452 = (ref_18344 & 0xFFFFFFFF) # MOV operation
ref_18454 = (((ref_18452 & 0xFFFFFFFF) + (ref_18440 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_18763 = (ref_18454 & 0xFFFFFFFF) # MOV operation
ref_18772 = ((((0x0) << 32 | (ref_18763 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_18774 = (ref_18772 & 0xFFFFFFFF) # MOV operation
ref_18804 = (ref_18774 & 0xFFFFFFFF) # MOV operation
ref_18902 = (ref_18804 & 0xFFFFFFFF) # MOV operation
ref_18952 = (ref_17280 & 0xFFFFFFFF) # MOV operation
ref_18966 = (ref_18952 & 0xFFFFFFFF) # MOV operation
ref_18978 = (ref_18902 & 0xFFFFFFFF) # MOV operation
ref_18980 = (((ref_18978 & 0xFFFFFFFF) + (ref_18966 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_19271 = (ref_18980 & 0xFFFFFFFF) # MOV operation
ref_19280 = ((((0x0) << 32 | (ref_19271 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_19282 = (ref_19280 & 0xFFFFFFFF) # MOV operation
ref_19312 = (ref_19282 & 0xFFFFFFFF) # MOV operation
ref_20356 = ref_309 # MOVZX operation
ref_20374 = (ref_20356 & 0xFF) # MOVZX operation
ref_20376 = (ref_20374 & 0xFF) # MOVZX operation
ref_20444 = (ref_18804 & 0xFFFFFFFF) # MOV operation
ref_20472 = (ref_20444 & 0xFFFFFFFF) # MOV operation
ref_20484 = (ref_20376 & 0xFFFFFFFF) # MOV operation
ref_20486 = (((ref_20484 & 0xFFFFFFFF) + (ref_20472 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_20795 = (ref_20486 & 0xFFFFFFFF) # MOV operation
ref_20804 = ((((0x0) << 32 | (ref_20795 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_20806 = (ref_20804 & 0xFFFFFFFF) # MOV operation
ref_20836 = (ref_20806 & 0xFFFFFFFF) # MOV operation
ref_20934 = (ref_20836 & 0xFFFFFFFF) # MOV operation
ref_20984 = (ref_19312 & 0xFFFFFFFF) # MOV operation
ref_20998 = (ref_20984 & 0xFFFFFFFF) # MOV operation
ref_21010 = (ref_20934 & 0xFFFFFFFF) # MOV operation
ref_21012 = (((ref_21010 & 0xFFFFFFFF) + (ref_20998 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_21303 = (ref_21012 & 0xFFFFFFFF) # MOV operation
ref_21312 = ((((0x0) << 32 | (ref_21303 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_21314 = (ref_21312 & 0xFFFFFFFF) # MOV operation
ref_21344 = (ref_21314 & 0xFFFFFFFF) # MOV operation
ref_22379 = (ref_21344 & 0xFFFFFFFF) # MOV operation
ref_22415 = (ref_22379 & 0xFFFFFFFF) # MOV operation
ref_22431 = (((ref_22415 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_22438 = (ref_22431 & 0xFFFFFFFF) # MOV operation
ref_22506 = (ref_20836 & 0xFFFFFFFF) # MOV operation
ref_22534 = (ref_22438 & 0xFFFFFFFF) # MOV operation
ref_22546 = (ref_22506 & 0xFFFFFFFF) # MOV operation
ref_22548 = ((ref_22546 & 0xFFFFFFFF) | (ref_22534 & 0xFFFFFFFF)) # OR operation
ref_22583 = (ref_22548 & 0xFFFFFFFF) # MOV operation
ref_22829 = (ref_22583 & 0xFFFFFFFF) # MOV operation
ref_22934 = (ref_22829 & 0xFFFFFFFF) # MOV operation
ref_22958 = (ref_22934 & 0xFFFFFFFF) # MOV operation
ref_22966 = (ref_22958 & 0xFFFFFFFF) # MOV operation
ref_22968 = (ref_22966 & 0xFFFFFFFF) # MOV operation

print ref_22968 & 0xffffffffffffffff
