#!/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_10793 = ref_316 # MOVZX operation
ref_10833 = (ref_10793 & 0xFF) # MOVZX operation
ref_10835 = (ref_10833 & 0xFF) # MOVZX operation
ref_11041 = (ref_10835 & 0xFFFFFFFF) # MOV operation
ref_11043 = (((ref_11041 & 0xFFFFFFFF) + 0x1) & 0xFFFFFFFF) # ADD operation
ref_11314 = (ref_11043 & 0xFFFFFFFF) # MOV operation
ref_11323 = ((((0x0) << 32 | (ref_11314 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_11325 = (ref_11323 & 0xFFFFFFFF) # MOV operation
ref_11399 = (ref_11325 & 0xFFFFFFFF) # MOV operation
ref_11669 = (ref_11399 & 0xFFFFFFFF) # MOV operation
ref_11875 = (ref_11669 & 0xFFFFFFFF) # MOV operation
ref_11877 = (((ref_11875 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_12148 = (ref_11877 & 0xFFFFFFFF) # MOV operation
ref_12157 = ((((0x0) << 32 | (ref_12148 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_12159 = (ref_12157 & 0xFFFFFFFF) # MOV operation
ref_12233 = (ref_12159 & 0xFFFFFFFF) # MOV operation
ref_14074 = ref_315 # MOVZX operation
ref_14114 = (ref_14074 & 0xFF) # MOVZX operation
ref_14116 = (ref_14114 & 0xFF) # MOVZX operation
ref_14264 = (ref_11399 & 0xFFFFFFFF) # MOV operation
ref_14310 = (ref_14264 & 0xFFFFFFFF) # MOV operation
ref_14322 = (ref_14116 & 0xFFFFFFFF) # MOV operation
ref_14324 = (((ref_14322 & 0xFFFFFFFF) + (ref_14310 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14595 = (ref_14324 & 0xFFFFFFFF) # MOV operation
ref_14604 = ((((0x0) << 32 | (ref_14595 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_14606 = (ref_14604 & 0xFFFFFFFF) # MOV operation
ref_14680 = (ref_14606 & 0xFFFFFFFF) # MOV operation
ref_14950 = (ref_14680 & 0xFFFFFFFF) # MOV operation
ref_15098 = (ref_12233 & 0xFFFFFFFF) # MOV operation
ref_15144 = (ref_15098 & 0xFFFFFFFF) # MOV operation
ref_15156 = (ref_14950 & 0xFFFFFFFF) # MOV operation
ref_15158 = (((ref_15156 & 0xFFFFFFFF) + (ref_15144 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_15429 = (ref_15158 & 0xFFFFFFFF) # MOV operation
ref_15438 = ((((0x0) << 32 | (ref_15429 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_15440 = (ref_15438 & 0xFFFFFFFF) # MOV operation
ref_15514 = (ref_15440 & 0xFFFFFFFF) # MOV operation
ref_17355 = ref_314 # MOVZX operation
ref_17395 = (ref_17355 & 0xFF) # MOVZX operation
ref_17397 = (ref_17395 & 0xFF) # MOVZX operation
ref_17545 = (ref_14680 & 0xFFFFFFFF) # MOV operation
ref_17591 = (ref_17545 & 0xFFFFFFFF) # MOV operation
ref_17603 = (ref_17397 & 0xFFFFFFFF) # MOV operation
ref_17605 = (((ref_17603 & 0xFFFFFFFF) + (ref_17591 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_17876 = (ref_17605 & 0xFFFFFFFF) # MOV operation
ref_17885 = ((((0x0) << 32 | (ref_17876 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_17887 = (ref_17885 & 0xFFFFFFFF) # MOV operation
ref_17961 = (ref_17887 & 0xFFFFFFFF) # MOV operation
ref_18231 = (ref_17961 & 0xFFFFFFFF) # MOV operation
ref_18379 = (ref_15514 & 0xFFFFFFFF) # MOV operation
ref_18425 = (ref_18379 & 0xFFFFFFFF) # MOV operation
ref_18437 = (ref_18231 & 0xFFFFFFFF) # MOV operation
ref_18439 = (((ref_18437 & 0xFFFFFFFF) + (ref_18425 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_18710 = (ref_18439 & 0xFFFFFFFF) # MOV operation
ref_18719 = ((((0x0) << 32 | (ref_18710 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_18721 = (ref_18719 & 0xFFFFFFFF) # MOV operation
ref_18795 = (ref_18721 & 0xFFFFFFFF) # MOV operation
ref_20636 = ref_313 # MOVZX operation
ref_20676 = (ref_20636 & 0xFF) # MOVZX operation
ref_20678 = (ref_20676 & 0xFF) # MOVZX operation
ref_20826 = (ref_17961 & 0xFFFFFFFF) # MOV operation
ref_20872 = (ref_20826 & 0xFFFFFFFF) # MOV operation
ref_20884 = (ref_20678 & 0xFFFFFFFF) # MOV operation
ref_20886 = (((ref_20884 & 0xFFFFFFFF) + (ref_20872 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_21157 = (ref_20886 & 0xFFFFFFFF) # MOV operation
ref_21166 = ((((0x0) << 32 | (ref_21157 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_21168 = (ref_21166 & 0xFFFFFFFF) # MOV operation
ref_21242 = (ref_21168 & 0xFFFFFFFF) # MOV operation
ref_21512 = (ref_21242 & 0xFFFFFFFF) # MOV operation
ref_21660 = (ref_18795 & 0xFFFFFFFF) # MOV operation
ref_21706 = (ref_21660 & 0xFFFFFFFF) # MOV operation
ref_21718 = (ref_21512 & 0xFFFFFFFF) # MOV operation
ref_21720 = (((ref_21718 & 0xFFFFFFFF) + (ref_21706 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_21991 = (ref_21720 & 0xFFFFFFFF) # MOV operation
ref_22000 = ((((0x0) << 32 | (ref_21991 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_22002 = (ref_22000 & 0xFFFFFFFF) # MOV operation
ref_22076 = (ref_22002 & 0xFFFFFFFF) # MOV operation
ref_23917 = ref_312 # MOVZX operation
ref_23957 = (ref_23917 & 0xFF) # MOVZX operation
ref_23959 = (ref_23957 & 0xFF) # MOVZX operation
ref_24107 = (ref_21242 & 0xFFFFFFFF) # MOV operation
ref_24153 = (ref_24107 & 0xFFFFFFFF) # MOV operation
ref_24165 = (ref_23959 & 0xFFFFFFFF) # MOV operation
ref_24167 = (((ref_24165 & 0xFFFFFFFF) + (ref_24153 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_24438 = (ref_24167 & 0xFFFFFFFF) # MOV operation
ref_24447 = ((((0x0) << 32 | (ref_24438 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_24449 = (ref_24447 & 0xFFFFFFFF) # MOV operation
ref_24523 = (ref_24449 & 0xFFFFFFFF) # MOV operation
ref_24793 = (ref_24523 & 0xFFFFFFFF) # MOV operation
ref_24941 = (ref_22076 & 0xFFFFFFFF) # MOV operation
ref_24987 = (ref_24941 & 0xFFFFFFFF) # MOV operation
ref_24999 = (ref_24793 & 0xFFFFFFFF) # MOV operation
ref_25001 = (((ref_24999 & 0xFFFFFFFF) + (ref_24987 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_25272 = (ref_25001 & 0xFFFFFFFF) # MOV operation
ref_25281 = ((((0x0) << 32 | (ref_25272 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_25283 = (ref_25281 & 0xFFFFFFFF) # MOV operation
ref_25357 = (ref_25283 & 0xFFFFFFFF) # MOV operation
ref_27198 = ref_311 # MOVZX operation
ref_27238 = (ref_27198 & 0xFF) # MOVZX operation
ref_27240 = (ref_27238 & 0xFF) # MOVZX operation
ref_27388 = (ref_24523 & 0xFFFFFFFF) # MOV operation
ref_27434 = (ref_27388 & 0xFFFFFFFF) # MOV operation
ref_27446 = (ref_27240 & 0xFFFFFFFF) # MOV operation
ref_27448 = (((ref_27446 & 0xFFFFFFFF) + (ref_27434 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_27719 = (ref_27448 & 0xFFFFFFFF) # MOV operation
ref_27728 = ((((0x0) << 32 | (ref_27719 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_27730 = (ref_27728 & 0xFFFFFFFF) # MOV operation
ref_27804 = (ref_27730 & 0xFFFFFFFF) # MOV operation
ref_28074 = (ref_27804 & 0xFFFFFFFF) # MOV operation
ref_28222 = (ref_25357 & 0xFFFFFFFF) # MOV operation
ref_28268 = (ref_28222 & 0xFFFFFFFF) # MOV operation
ref_28280 = (ref_28074 & 0xFFFFFFFF) # MOV operation
ref_28282 = (((ref_28280 & 0xFFFFFFFF) + (ref_28268 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_28553 = (ref_28282 & 0xFFFFFFFF) # MOV operation
ref_28562 = ((((0x0) << 32 | (ref_28553 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_28564 = (ref_28562 & 0xFFFFFFFF) # MOV operation
ref_28638 = (ref_28564 & 0xFFFFFFFF) # MOV operation
ref_30479 = ref_310 # MOVZX operation
ref_30519 = (ref_30479 & 0xFF) # MOVZX operation
ref_30521 = (ref_30519 & 0xFF) # MOVZX operation
ref_30669 = (ref_27804 & 0xFFFFFFFF) # MOV operation
ref_30715 = (ref_30669 & 0xFFFFFFFF) # MOV operation
ref_30727 = (ref_30521 & 0xFFFFFFFF) # MOV operation
ref_30729 = (((ref_30727 & 0xFFFFFFFF) + (ref_30715 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_31000 = (ref_30729 & 0xFFFFFFFF) # MOV operation
ref_31009 = ((((0x0) << 32 | (ref_31000 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_31011 = (ref_31009 & 0xFFFFFFFF) # MOV operation
ref_31085 = (ref_31011 & 0xFFFFFFFF) # MOV operation
ref_31355 = (ref_31085 & 0xFFFFFFFF) # MOV operation
ref_31503 = (ref_28638 & 0xFFFFFFFF) # MOV operation
ref_31549 = (ref_31503 & 0xFFFFFFFF) # MOV operation
ref_31561 = (ref_31355 & 0xFFFFFFFF) # MOV operation
ref_31563 = (((ref_31561 & 0xFFFFFFFF) + (ref_31549 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_31834 = (ref_31563 & 0xFFFFFFFF) # MOV operation
ref_31843 = ((((0x0) << 32 | (ref_31834 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_31845 = (ref_31843 & 0xFFFFFFFF) # MOV operation
ref_31919 = (ref_31845 & 0xFFFFFFFF) # MOV operation
ref_33760 = ref_309 # MOVZX operation
ref_33800 = (ref_33760 & 0xFF) # MOVZX operation
ref_33802 = (ref_33800 & 0xFF) # MOVZX operation
ref_33950 = (ref_31085 & 0xFFFFFFFF) # MOV operation
ref_33996 = (ref_33950 & 0xFFFFFFFF) # MOV operation
ref_34008 = (ref_33802 & 0xFFFFFFFF) # MOV operation
ref_34010 = (((ref_34008 & 0xFFFFFFFF) + (ref_33996 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_34281 = (ref_34010 & 0xFFFFFFFF) # MOV operation
ref_34290 = ((((0x0) << 32 | (ref_34281 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_34292 = (ref_34290 & 0xFFFFFFFF) # MOV operation
ref_34366 = (ref_34292 & 0xFFFFFFFF) # MOV operation
ref_34636 = (ref_34366 & 0xFFFFFFFF) # MOV operation
ref_34784 = (ref_31919 & 0xFFFFFFFF) # MOV operation
ref_34830 = (ref_34784 & 0xFFFFFFFF) # MOV operation
ref_34842 = (ref_34636 & 0xFFFFFFFF) # MOV operation
ref_34844 = (((ref_34842 & 0xFFFFFFFF) + (ref_34830 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_35115 = (ref_34844 & 0xFFFFFFFF) # MOV operation
ref_35124 = ((((0x0) << 32 | (ref_35115 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_35126 = (ref_35124 & 0xFFFFFFFF) # MOV operation
ref_35200 = (ref_35126 & 0xFFFFFFFF) # MOV operation
ref_36634 = (ref_35200 & 0xFFFFFFFF) # MOV operation
ref_36774 = (ref_36634 & 0xFFFFFFFF) # MOV operation
ref_36782 = (((ref_36774 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_36789 = (ref_36782 & 0xFFFFFFFF) # MOV operation
ref_36957 = (ref_34366 & 0xFFFFFFFF) # MOV operation
ref_37011 = (ref_36789 & 0xFFFFFFFF) # MOV operation
ref_37015 = (ref_36957 & 0xFFFFFFFF) # MOV operation
ref_37017 = ((ref_37015 & 0xFFFFFFFF) | (ref_37011 & 0xFFFFFFFF)) # OR operation
ref_37096 = (ref_37017 & 0xFFFFFFFF) # MOV operation
ref_37322 = (ref_37096 & 0xFFFFFFFF) # MOV operation
ref_37364 = (ref_37322 & 0xFFFFFFFF) # MOV operation
ref_37388 = (ref_37364 & 0xFFFFFFFF) # MOV operation
ref_37396 = (ref_37388 & 0xFFFFFFFF) # MOV operation
ref_37398 = (ref_37396 & 0xFFFFFFFF) # MOV operation

print ref_37398 & 0xffffffffffffffff
