#!/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_21533 = ref_316 # MOVZX operation
ref_21599 = (ref_21533 & 0xFF) # MOVZX operation
ref_21601 = (ref_21599 & 0xFF) # MOVZX operation
ref_21685 = (ref_21601 & 0xFFFFFFFF) # MOV operation
ref_21687 = (((ref_21685 & 0xFFFFFFFF) + 0x1) & 0xFFFFFFFF) # ADD operation
ref_22062 = (ref_21687 & 0xFFFFFFFF) # MOV operation
ref_22071 = ((((0x0) << 32 | (ref_22062 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_22073 = (ref_22071 & 0xFFFFFFFF) # MOV operation
ref_22173 = (ref_22073 & 0xFFFFFFFF) # MOV operation
ref_22721 = (ref_22173 & 0xFFFFFFFF) # MOV operation
ref_22805 = (ref_22721 & 0xFFFFFFFF) # MOV operation
ref_22807 = (((ref_22805 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_23182 = (ref_22807 & 0xFFFFFFFF) # MOV operation
ref_23191 = ((((0x0) << 32 | (ref_23182 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_23193 = (ref_23191 & 0xFFFFFFFF) # MOV operation
ref_23293 = (ref_23193 & 0xFFFFFFFF) # MOV operation
ref_25034 = (ref_22173 & 0xFFFFFFFF) # MOV operation
ref_25932 = ref_315 # MOVZX operation
ref_25998 = (ref_25932 & 0xFF) # MOVZX operation
ref_26000 = (ref_25998 & 0xFF) # MOVZX operation
ref_26080 = (ref_25034 & 0xFFFFFFFF) # MOV operation
ref_26084 = (ref_26000 & 0xFFFFFFFF) # MOV operation
ref_26086 = (((ref_26084 & 0xFFFFFFFF) + (ref_26080 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_26461 = (ref_26086 & 0xFFFFFFFF) # MOV operation
ref_26470 = ((((0x0) << 32 | (ref_26461 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_26472 = (ref_26470 & 0xFFFFFFFF) # MOV operation
ref_26572 = (ref_26472 & 0xFFFFFFFF) # MOV operation
ref_26920 = (ref_23293 & 0xFFFFFFFF) # MOV operation
ref_27120 = (ref_26572 & 0xFFFFFFFF) # MOV operation
ref_27200 = (ref_26920 & 0xFFFFFFFF) # MOV operation
ref_27204 = (ref_27120 & 0xFFFFFFFF) # MOV operation
ref_27206 = (((ref_27204 & 0xFFFFFFFF) + (ref_27200 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_27581 = (ref_27206 & 0xFFFFFFFF) # MOV operation
ref_27590 = ((((0x0) << 32 | (ref_27581 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_27592 = (ref_27590 & 0xFFFFFFFF) # MOV operation
ref_27692 = (ref_27592 & 0xFFFFFFFF) # MOV operation
ref_29433 = (ref_26572 & 0xFFFFFFFF) # MOV operation
ref_30331 = ref_314 # MOVZX operation
ref_30397 = (ref_30331 & 0xFF) # MOVZX operation
ref_30399 = (ref_30397 & 0xFF) # MOVZX operation
ref_30479 = (ref_29433 & 0xFFFFFFFF) # MOV operation
ref_30483 = (ref_30399 & 0xFFFFFFFF) # MOV operation
ref_30485 = (((ref_30483 & 0xFFFFFFFF) + (ref_30479 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_30860 = (ref_30485 & 0xFFFFFFFF) # MOV operation
ref_30869 = ((((0x0) << 32 | (ref_30860 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_30871 = (ref_30869 & 0xFFFFFFFF) # MOV operation
ref_30971 = (ref_30871 & 0xFFFFFFFF) # MOV operation
ref_31319 = (ref_27692 & 0xFFFFFFFF) # MOV operation
ref_31519 = (ref_30971 & 0xFFFFFFFF) # MOV operation
ref_31599 = (ref_31319 & 0xFFFFFFFF) # MOV operation
ref_31603 = (ref_31519 & 0xFFFFFFFF) # MOV operation
ref_31605 = (((ref_31603 & 0xFFFFFFFF) + (ref_31599 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_31980 = (ref_31605 & 0xFFFFFFFF) # MOV operation
ref_31989 = ((((0x0) << 32 | (ref_31980 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_31991 = (ref_31989 & 0xFFFFFFFF) # MOV operation
ref_32091 = (ref_31991 & 0xFFFFFFFF) # MOV operation
ref_33832 = (ref_30971 & 0xFFFFFFFF) # MOV operation
ref_34730 = ref_313 # MOVZX operation
ref_34796 = (ref_34730 & 0xFF) # MOVZX operation
ref_34798 = (ref_34796 & 0xFF) # MOVZX operation
ref_34878 = (ref_33832 & 0xFFFFFFFF) # MOV operation
ref_34882 = (ref_34798 & 0xFFFFFFFF) # MOV operation
ref_34884 = (((ref_34882 & 0xFFFFFFFF) + (ref_34878 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_35259 = (ref_34884 & 0xFFFFFFFF) # MOV operation
ref_35268 = ((((0x0) << 32 | (ref_35259 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_35270 = (ref_35268 & 0xFFFFFFFF) # MOV operation
ref_35370 = (ref_35270 & 0xFFFFFFFF) # MOV operation
ref_35718 = (ref_32091 & 0xFFFFFFFF) # MOV operation
ref_35918 = (ref_35370 & 0xFFFFFFFF) # MOV operation
ref_35998 = (ref_35718 & 0xFFFFFFFF) # MOV operation
ref_36002 = (ref_35918 & 0xFFFFFFFF) # MOV operation
ref_36004 = (((ref_36002 & 0xFFFFFFFF) + (ref_35998 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_36379 = (ref_36004 & 0xFFFFFFFF) # MOV operation
ref_36388 = ((((0x0) << 32 | (ref_36379 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_36390 = (ref_36388 & 0xFFFFFFFF) # MOV operation
ref_36490 = (ref_36390 & 0xFFFFFFFF) # MOV operation
ref_38231 = (ref_35370 & 0xFFFFFFFF) # MOV operation
ref_39129 = ref_312 # MOVZX operation
ref_39195 = (ref_39129 & 0xFF) # MOVZX operation
ref_39197 = (ref_39195 & 0xFF) # MOVZX operation
ref_39277 = (ref_38231 & 0xFFFFFFFF) # MOV operation
ref_39281 = (ref_39197 & 0xFFFFFFFF) # MOV operation
ref_39283 = (((ref_39281 & 0xFFFFFFFF) + (ref_39277 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_39658 = (ref_39283 & 0xFFFFFFFF) # MOV operation
ref_39667 = ((((0x0) << 32 | (ref_39658 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_39669 = (ref_39667 & 0xFFFFFFFF) # MOV operation
ref_39769 = (ref_39669 & 0xFFFFFFFF) # MOV operation
ref_40117 = (ref_36490 & 0xFFFFFFFF) # MOV operation
ref_40317 = (ref_39769 & 0xFFFFFFFF) # MOV operation
ref_40397 = (ref_40117 & 0xFFFFFFFF) # MOV operation
ref_40401 = (ref_40317 & 0xFFFFFFFF) # MOV operation
ref_40403 = (((ref_40401 & 0xFFFFFFFF) + (ref_40397 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_40778 = (ref_40403 & 0xFFFFFFFF) # MOV operation
ref_40787 = ((((0x0) << 32 | (ref_40778 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_40789 = (ref_40787 & 0xFFFFFFFF) # MOV operation
ref_40889 = (ref_40789 & 0xFFFFFFFF) # MOV operation
ref_42630 = (ref_39769 & 0xFFFFFFFF) # MOV operation
ref_43528 = ref_311 # MOVZX operation
ref_43594 = (ref_43528 & 0xFF) # MOVZX operation
ref_43596 = (ref_43594 & 0xFF) # MOVZX operation
ref_43676 = (ref_42630 & 0xFFFFFFFF) # MOV operation
ref_43680 = (ref_43596 & 0xFFFFFFFF) # MOV operation
ref_43682 = (((ref_43680 & 0xFFFFFFFF) + (ref_43676 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_44057 = (ref_43682 & 0xFFFFFFFF) # MOV operation
ref_44066 = ((((0x0) << 32 | (ref_44057 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_44068 = (ref_44066 & 0xFFFFFFFF) # MOV operation
ref_44168 = (ref_44068 & 0xFFFFFFFF) # MOV operation
ref_44516 = (ref_40889 & 0xFFFFFFFF) # MOV operation
ref_44716 = (ref_44168 & 0xFFFFFFFF) # MOV operation
ref_44796 = (ref_44516 & 0xFFFFFFFF) # MOV operation
ref_44800 = (ref_44716 & 0xFFFFFFFF) # MOV operation
ref_44802 = (((ref_44800 & 0xFFFFFFFF) + (ref_44796 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_45177 = (ref_44802 & 0xFFFFFFFF) # MOV operation
ref_45186 = ((((0x0) << 32 | (ref_45177 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_45188 = (ref_45186 & 0xFFFFFFFF) # MOV operation
ref_45288 = (ref_45188 & 0xFFFFFFFF) # MOV operation
ref_47029 = (ref_44168 & 0xFFFFFFFF) # MOV operation
ref_47927 = ref_310 # MOVZX operation
ref_47993 = (ref_47927 & 0xFF) # MOVZX operation
ref_47995 = (ref_47993 & 0xFF) # MOVZX operation
ref_48075 = (ref_47029 & 0xFFFFFFFF) # MOV operation
ref_48079 = (ref_47995 & 0xFFFFFFFF) # MOV operation
ref_48081 = (((ref_48079 & 0xFFFFFFFF) + (ref_48075 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_48456 = (ref_48081 & 0xFFFFFFFF) # MOV operation
ref_48465 = ((((0x0) << 32 | (ref_48456 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_48467 = (ref_48465 & 0xFFFFFFFF) # MOV operation
ref_48567 = (ref_48467 & 0xFFFFFFFF) # MOV operation
ref_48915 = (ref_45288 & 0xFFFFFFFF) # MOV operation
ref_49115 = (ref_48567 & 0xFFFFFFFF) # MOV operation
ref_49195 = (ref_48915 & 0xFFFFFFFF) # MOV operation
ref_49199 = (ref_49115 & 0xFFFFFFFF) # MOV operation
ref_49201 = (((ref_49199 & 0xFFFFFFFF) + (ref_49195 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_49576 = (ref_49201 & 0xFFFFFFFF) # MOV operation
ref_49585 = ((((0x0) << 32 | (ref_49576 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_49587 = (ref_49585 & 0xFFFFFFFF) # MOV operation
ref_49687 = (ref_49587 & 0xFFFFFFFF) # MOV operation
ref_51428 = (ref_48567 & 0xFFFFFFFF) # MOV operation
ref_52326 = ref_309 # MOVZX operation
ref_52392 = (ref_52326 & 0xFF) # MOVZX operation
ref_52394 = (ref_52392 & 0xFF) # MOVZX operation
ref_52474 = (ref_51428 & 0xFFFFFFFF) # MOV operation
ref_52478 = (ref_52394 & 0xFFFFFFFF) # MOV operation
ref_52480 = (((ref_52478 & 0xFFFFFFFF) + (ref_52474 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_52855 = (ref_52480 & 0xFFFFFFFF) # MOV operation
ref_52864 = ((((0x0) << 32 | (ref_52855 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_52866 = (ref_52864 & 0xFFFFFFFF) # MOV operation
ref_52966 = (ref_52866 & 0xFFFFFFFF) # MOV operation
ref_53314 = (ref_49687 & 0xFFFFFFFF) # MOV operation
ref_53514 = (ref_52966 & 0xFFFFFFFF) # MOV operation
ref_53594 = (ref_53314 & 0xFFFFFFFF) # MOV operation
ref_53598 = (ref_53514 & 0xFFFFFFFF) # MOV operation
ref_53600 = (((ref_53598 & 0xFFFFFFFF) + (ref_53594 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_53975 = (ref_53600 & 0xFFFFFFFF) # MOV operation
ref_53984 = ((((0x0) << 32 | (ref_53975 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_53986 = (ref_53984 & 0xFFFFFFFF) # MOV operation
ref_54086 = (ref_53986 & 0xFFFFFFFF) # MOV operation
ref_55988 = (ref_52966 & 0xFFFFFFFF) # MOV operation
ref_56300 = (ref_54086 & 0xFFFFFFFF) # MOV operation
ref_56372 = (ref_56300 & 0xFFFFFFFF) # MOV operation
ref_56388 = (((ref_56372 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_56395 = (ref_56388 & 0xFFFFFFFF) # MOV operation
ref_56487 = (ref_56395 & 0xFFFFFFFF) # MOV operation
ref_56499 = (ref_55988 & 0xFFFFFFFF) # MOV operation
ref_56501 = ((ref_56499 & 0xFFFFFFFF) | (ref_56487 & 0xFFFFFFFF)) # OR operation
ref_56606 = (ref_56501 & 0xFFFFFFFF) # MOV operation
ref_56910 = (ref_56606 & 0xFFFFFFFF) # MOV operation
ref_56978 = (ref_56910 & 0xFFFFFFFF) # MOV operation
ref_57002 = (ref_56978 & 0xFFFFFFFF) # MOV operation
ref_57010 = (ref_57002 & 0xFFFFFFFF) # MOV operation
ref_57012 = (ref_57010 & 0xFFFFFFFF) # MOV operation

print ref_57012 & 0xffffffffffffffff
