#!/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_8498 = ref_316 # MOVZX operation
ref_8600 = (ref_8498 & 0xFF) # MOVZX operation
ref_8602 = (ref_8600 & 0xFF) # MOVZX operation
ref_8950 = (ref_8602 & 0xFFFFFFFF) # MOV operation
ref_8952 = ((0x1 + (ref_8950 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_9403 = (ref_8952 & 0xFFFFFFFF) # MOV operation
ref_9416 = ((((0x0) << 32 | (ref_9403 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_9644 = (ref_9416 & 0xFFFFFFFF) # MOV operation
ref_9868 = (ref_9644 & 0xFFFFFFFF) # MOV operation
ref_10216 = (ref_9868 & 0xFFFFFFFF) # MOV operation
ref_10218 = ((0x0 + (ref_10216 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_10669 = (ref_10218 & 0xFFFFFFFF) # MOV operation
ref_10682 = ((((0x0) << 32 | (ref_10669 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_10910 = (ref_10682 & 0xFFFFFFFF) # MOV operation
ref_13426 = ref_315 # MOVZX operation
ref_13528 = (ref_13426 & 0xFF) # MOVZX operation
ref_13530 = (ref_13528 & 0xFF) # MOVZX operation
ref_13756 = (ref_9644 & 0xFFFFFFFF) # MOV operation
ref_13862 = (ref_13756 & 0xFFFFFFFF) # MOV operation
ref_13878 = (ref_13530 & 0xFFFFFFFF) # MOV operation
ref_13880 = (((ref_13862 & 0xFFFFFFFF) + (ref_13878 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14331 = (ref_13880 & 0xFFFFFFFF) # MOV operation
ref_14344 = ((((0x0) << 32 | (ref_14331 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_14572 = (ref_14344 & 0xFFFFFFFF) # MOV operation
ref_14796 = (ref_14572 & 0xFFFFFFFF) # MOV operation
ref_15022 = (ref_10910 & 0xFFFFFFFF) # MOV operation
ref_15128 = (ref_15022 & 0xFFFFFFFF) # MOV operation
ref_15144 = (ref_14796 & 0xFFFFFFFF) # MOV operation
ref_15146 = (((ref_15128 & 0xFFFFFFFF) + (ref_15144 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_15597 = (ref_15146 & 0xFFFFFFFF) # MOV operation
ref_15610 = ((((0x0) << 32 | (ref_15597 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_15838 = (ref_15610 & 0xFFFFFFFF) # MOV operation
ref_18354 = ref_314 # MOVZX operation
ref_18456 = (ref_18354 & 0xFF) # MOVZX operation
ref_18458 = (ref_18456 & 0xFF) # MOVZX operation
ref_18684 = (ref_14572 & 0xFFFFFFFF) # MOV operation
ref_18790 = (ref_18684 & 0xFFFFFFFF) # MOV operation
ref_18806 = (ref_18458 & 0xFFFFFFFF) # MOV operation
ref_18808 = (((ref_18790 & 0xFFFFFFFF) + (ref_18806 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_19259 = (ref_18808 & 0xFFFFFFFF) # MOV operation
ref_19272 = ((((0x0) << 32 | (ref_19259 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_19500 = (ref_19272 & 0xFFFFFFFF) # MOV operation
ref_19724 = (ref_19500 & 0xFFFFFFFF) # MOV operation
ref_19950 = (ref_15838 & 0xFFFFFFFF) # MOV operation
ref_20056 = (ref_19950 & 0xFFFFFFFF) # MOV operation
ref_20072 = (ref_19724 & 0xFFFFFFFF) # MOV operation
ref_20074 = (((ref_20056 & 0xFFFFFFFF) + (ref_20072 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_20525 = (ref_20074 & 0xFFFFFFFF) # MOV operation
ref_20538 = ((((0x0) << 32 | (ref_20525 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_20766 = (ref_20538 & 0xFFFFFFFF) # MOV operation
ref_23282 = ref_313 # MOVZX operation
ref_23384 = (ref_23282 & 0xFF) # MOVZX operation
ref_23386 = (ref_23384 & 0xFF) # MOVZX operation
ref_23612 = (ref_19500 & 0xFFFFFFFF) # MOV operation
ref_23718 = (ref_23612 & 0xFFFFFFFF) # MOV operation
ref_23734 = (ref_23386 & 0xFFFFFFFF) # MOV operation
ref_23736 = (((ref_23718 & 0xFFFFFFFF) + (ref_23734 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_24187 = (ref_23736 & 0xFFFFFFFF) # MOV operation
ref_24200 = ((((0x0) << 32 | (ref_24187 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_24428 = (ref_24200 & 0xFFFFFFFF) # MOV operation
ref_24652 = (ref_24428 & 0xFFFFFFFF) # MOV operation
ref_24878 = (ref_20766 & 0xFFFFFFFF) # MOV operation
ref_24984 = (ref_24878 & 0xFFFFFFFF) # MOV operation
ref_25000 = (ref_24652 & 0xFFFFFFFF) # MOV operation
ref_25002 = (((ref_24984 & 0xFFFFFFFF) + (ref_25000 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_25453 = (ref_25002 & 0xFFFFFFFF) # MOV operation
ref_25466 = ((((0x0) << 32 | (ref_25453 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_25694 = (ref_25466 & 0xFFFFFFFF) # MOV operation
ref_28210 = ref_312 # MOVZX operation
ref_28312 = (ref_28210 & 0xFF) # MOVZX operation
ref_28314 = (ref_28312 & 0xFF) # MOVZX operation
ref_28540 = (ref_24428 & 0xFFFFFFFF) # MOV operation
ref_28646 = (ref_28540 & 0xFFFFFFFF) # MOV operation
ref_28662 = (ref_28314 & 0xFFFFFFFF) # MOV operation
ref_28664 = (((ref_28646 & 0xFFFFFFFF) + (ref_28662 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_29115 = (ref_28664 & 0xFFFFFFFF) # MOV operation
ref_29128 = ((((0x0) << 32 | (ref_29115 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_29356 = (ref_29128 & 0xFFFFFFFF) # MOV operation
ref_29580 = (ref_29356 & 0xFFFFFFFF) # MOV operation
ref_29806 = (ref_25694 & 0xFFFFFFFF) # MOV operation
ref_29912 = (ref_29806 & 0xFFFFFFFF) # MOV operation
ref_29928 = (ref_29580 & 0xFFFFFFFF) # MOV operation
ref_29930 = (((ref_29912 & 0xFFFFFFFF) + (ref_29928 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_30381 = (ref_29930 & 0xFFFFFFFF) # MOV operation
ref_30394 = ((((0x0) << 32 | (ref_30381 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_30622 = (ref_30394 & 0xFFFFFFFF) # MOV operation
ref_33138 = ref_311 # MOVZX operation
ref_33240 = (ref_33138 & 0xFF) # MOVZX operation
ref_33242 = (ref_33240 & 0xFF) # MOVZX operation
ref_33468 = (ref_29356 & 0xFFFFFFFF) # MOV operation
ref_33574 = (ref_33468 & 0xFFFFFFFF) # MOV operation
ref_33590 = (ref_33242 & 0xFFFFFFFF) # MOV operation
ref_33592 = (((ref_33574 & 0xFFFFFFFF) + (ref_33590 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_34043 = (ref_33592 & 0xFFFFFFFF) # MOV operation
ref_34056 = ((((0x0) << 32 | (ref_34043 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_34284 = (ref_34056 & 0xFFFFFFFF) # MOV operation
ref_34508 = (ref_34284 & 0xFFFFFFFF) # MOV operation
ref_34734 = (ref_30622 & 0xFFFFFFFF) # MOV operation
ref_34840 = (ref_34734 & 0xFFFFFFFF) # MOV operation
ref_34856 = (ref_34508 & 0xFFFFFFFF) # MOV operation
ref_34858 = (((ref_34840 & 0xFFFFFFFF) + (ref_34856 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_35309 = (ref_34858 & 0xFFFFFFFF) # MOV operation
ref_35322 = ((((0x0) << 32 | (ref_35309 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_35550 = (ref_35322 & 0xFFFFFFFF) # MOV operation
ref_38066 = ref_310 # MOVZX operation
ref_38168 = (ref_38066 & 0xFF) # MOVZX operation
ref_38170 = (ref_38168 & 0xFF) # MOVZX operation
ref_38396 = (ref_34284 & 0xFFFFFFFF) # MOV operation
ref_38502 = (ref_38396 & 0xFFFFFFFF) # MOV operation
ref_38518 = (ref_38170 & 0xFFFFFFFF) # MOV operation
ref_38520 = (((ref_38502 & 0xFFFFFFFF) + (ref_38518 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_38971 = (ref_38520 & 0xFFFFFFFF) # MOV operation
ref_38984 = ((((0x0) << 32 | (ref_38971 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_39212 = (ref_38984 & 0xFFFFFFFF) # MOV operation
ref_39436 = (ref_39212 & 0xFFFFFFFF) # MOV operation
ref_39662 = (ref_35550 & 0xFFFFFFFF) # MOV operation
ref_39768 = (ref_39662 & 0xFFFFFFFF) # MOV operation
ref_39784 = (ref_39436 & 0xFFFFFFFF) # MOV operation
ref_39786 = (((ref_39768 & 0xFFFFFFFF) + (ref_39784 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_40237 = (ref_39786 & 0xFFFFFFFF) # MOV operation
ref_40250 = ((((0x0) << 32 | (ref_40237 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_40478 = (ref_40250 & 0xFFFFFFFF) # MOV operation
ref_42994 = ref_309 # MOVZX operation
ref_43096 = (ref_42994 & 0xFF) # MOVZX operation
ref_43098 = (ref_43096 & 0xFF) # MOVZX operation
ref_43324 = (ref_39212 & 0xFFFFFFFF) # MOV operation
ref_43430 = (ref_43324 & 0xFFFFFFFF) # MOV operation
ref_43446 = (ref_43098 & 0xFFFFFFFF) # MOV operation
ref_43448 = (((ref_43430 & 0xFFFFFFFF) + (ref_43446 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_43899 = (ref_43448 & 0xFFFFFFFF) # MOV operation
ref_43912 = ((((0x0) << 32 | (ref_43899 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_44140 = (ref_43912 & 0xFFFFFFFF) # MOV operation
ref_44364 = (ref_44140 & 0xFFFFFFFF) # MOV operation
ref_44590 = (ref_40478 & 0xFFFFFFFF) # MOV operation
ref_44696 = (ref_44590 & 0xFFFFFFFF) # MOV operation
ref_44712 = (ref_44364 & 0xFFFFFFFF) # MOV operation
ref_44714 = (((ref_44696 & 0xFFFFFFFF) + (ref_44712 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_45165 = (ref_44714 & 0xFFFFFFFF) # MOV operation
ref_45178 = ((((0x0) << 32 | (ref_45165 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_45406 = (ref_45178 & 0xFFFFFFFF) # MOV operation
ref_47270 = (ref_44140 & 0xFFFFFFFF) # MOV operation
ref_47590 = (ref_45406 & 0xFFFFFFFF) # MOV operation
ref_47696 = (ref_47590 & 0xFFFFFFFF) # MOV operation
ref_47716 = (((ref_47696 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_47827 = (ref_47716 & 0xFFFFFFFF) # MOV operation
ref_47843 = (ref_47270 & 0xFFFFFFFF) # MOV operation
ref_47845 = ((ref_47827 & 0xFFFFFFFF) | (ref_47843 & 0xFFFFFFFF)) # OR operation
ref_48078 = (ref_47845 & 0xFFFFFFFF) # MOV operation
ref_48386 = (ref_48078 & 0xFFFFFFFF) # MOV operation
ref_48480 = (ref_48386 & 0xFFFFFFFF) # MOV operation
ref_48504 = (ref_48480 & 0xFFFFFFFF) # MOV operation
ref_48512 = (ref_48504 & 0xFFFFFFFF) # MOV operation
ref_48514 = (ref_48512 & 0xFFFFFFFF) # MOV operation

print ref_48514 & 0xffffffffffffffff
