#!/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_214 = SymVar_0
ref_225 = ref_214 # MOV operation
ref_237 = ref_225 # MOV operation
ref_239 = ref_237 # MOV operation
ref_273 = ((ref_239 >> 56) & 0xFF) # Byte reference - MOV operation
ref_274 = ((ref_239 >> 48) & 0xFF) # Byte reference - MOV operation
ref_275 = ((ref_239 >> 40) & 0xFF) # Byte reference - MOV operation
ref_276 = ((ref_239 >> 32) & 0xFF) # Byte reference - MOV operation
ref_277 = ((ref_239 >> 24) & 0xFF) # Byte reference - MOV operation
ref_278 = ((ref_239 >> 16) & 0xFF) # Byte reference - MOV operation
ref_279 = ((ref_239 >> 8) & 0xFF) # Byte reference - MOV operation
ref_280 = (ref_239 & 0xFF) # Byte reference - MOV operation
ref_9247 = ref_280 # MOVZX operation
ref_9313 = (ref_9247 & 0xFF) # MOVZX operation
ref_9315 = (ref_9313 & 0xFF) # MOVZX operation
ref_9399 = (ref_9315 & 0xFFFFFFFF) # MOV operation
ref_9401 = (((ref_9399 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_9507 = (ref_9401 & 0xFFFFFFFF) # MOV operation
ref_9855 = (ref_9507 & 0xFFFFFFFF) # MOV operation
ref_10055 = (ref_9507 & 0xFFFFFFFF) # MOV operation
ref_10247 = (ref_10055 & 0xFFFFFFFF) # MOV operation
ref_10255 = (((ref_10247 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_10262 = (ref_10255 & 0xFFFFFFFF) # MOV operation
ref_10362 = (ref_9855 & 0xFFFFFFFF) # MOV operation
ref_10366 = (ref_10262 & 0xFFFFFFFF) # MOV operation
ref_10368 = (((ref_10366 & 0xFFFFFFFF) + (ref_10362 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_10474 = (ref_10368 & 0xFFFFFFFF) # MOV operation
ref_10822 = (ref_10474 & 0xFFFFFFFF) # MOV operation
ref_11014 = (ref_10822 & 0xFFFFFFFF) # MOV operation
ref_11022 = ((ref_11014 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_11029 = (ref_11022 & 0xFFFFFFFF) # MOV operation
ref_11249 = (ref_10474 & 0xFFFFFFFF) # MOV operation
ref_11321 = (ref_11249 & 0xFFFFFFFF) # MOV operation
ref_11333 = (ref_11029 & 0xFFFFFFFF) # MOV operation
ref_11335 = ((ref_11333 & 0xFFFFFFFF) ^ (ref_11321 & 0xFFFFFFFF)) # XOR operation
ref_11440 = (ref_11335 & 0xFFFFFFFF) # MOV operation
ref_13617 = (ref_11440 & 0xFFFFFFFF) # MOV operation
ref_14515 = ref_279 # MOVZX operation
ref_14581 = (ref_14515 & 0xFF) # MOVZX operation
ref_14583 = (ref_14581 & 0xFF) # MOVZX operation
ref_14663 = (ref_13617 & 0xFFFFFFFF) # MOV operation
ref_14667 = (ref_14583 & 0xFFFFFFFF) # MOV operation
ref_14669 = (((ref_14667 & 0xFFFFFFFF) + (ref_14663 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14775 = (ref_14669 & 0xFFFFFFFF) # MOV operation
ref_15123 = (ref_14775 & 0xFFFFFFFF) # MOV operation
ref_15323 = (ref_14775 & 0xFFFFFFFF) # MOV operation
ref_15515 = (ref_15323 & 0xFFFFFFFF) # MOV operation
ref_15523 = (((ref_15515 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_15530 = (ref_15523 & 0xFFFFFFFF) # MOV operation
ref_15630 = (ref_15123 & 0xFFFFFFFF) # MOV operation
ref_15634 = (ref_15530 & 0xFFFFFFFF) # MOV operation
ref_15636 = (((ref_15634 & 0xFFFFFFFF) + (ref_15630 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_15742 = (ref_15636 & 0xFFFFFFFF) # MOV operation
ref_16090 = (ref_15742 & 0xFFFFFFFF) # MOV operation
ref_16282 = (ref_16090 & 0xFFFFFFFF) # MOV operation
ref_16290 = ((ref_16282 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_16297 = (ref_16290 & 0xFFFFFFFF) # MOV operation
ref_16517 = (ref_15742 & 0xFFFFFFFF) # MOV operation
ref_16589 = (ref_16517 & 0xFFFFFFFF) # MOV operation
ref_16601 = (ref_16297 & 0xFFFFFFFF) # MOV operation
ref_16603 = ((ref_16601 & 0xFFFFFFFF) ^ (ref_16589 & 0xFFFFFFFF)) # XOR operation
ref_16708 = (ref_16603 & 0xFFFFFFFF) # MOV operation
ref_18885 = (ref_16708 & 0xFFFFFFFF) # MOV operation
ref_19783 = ref_278 # MOVZX operation
ref_19849 = (ref_19783 & 0xFF) # MOVZX operation
ref_19851 = (ref_19849 & 0xFF) # MOVZX operation
ref_19931 = (ref_18885 & 0xFFFFFFFF) # MOV operation
ref_19935 = (ref_19851 & 0xFFFFFFFF) # MOV operation
ref_19937 = (((ref_19935 & 0xFFFFFFFF) + (ref_19931 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_20043 = (ref_19937 & 0xFFFFFFFF) # MOV operation
ref_20391 = (ref_20043 & 0xFFFFFFFF) # MOV operation
ref_20591 = (ref_20043 & 0xFFFFFFFF) # MOV operation
ref_20783 = (ref_20591 & 0xFFFFFFFF) # MOV operation
ref_20791 = (((ref_20783 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_20798 = (ref_20791 & 0xFFFFFFFF) # MOV operation
ref_20898 = (ref_20391 & 0xFFFFFFFF) # MOV operation
ref_20902 = (ref_20798 & 0xFFFFFFFF) # MOV operation
ref_20904 = (((ref_20902 & 0xFFFFFFFF) + (ref_20898 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_21010 = (ref_20904 & 0xFFFFFFFF) # MOV operation
ref_21358 = (ref_21010 & 0xFFFFFFFF) # MOV operation
ref_21550 = (ref_21358 & 0xFFFFFFFF) # MOV operation
ref_21558 = ((ref_21550 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_21565 = (ref_21558 & 0xFFFFFFFF) # MOV operation
ref_21785 = (ref_21010 & 0xFFFFFFFF) # MOV operation
ref_21857 = (ref_21785 & 0xFFFFFFFF) # MOV operation
ref_21869 = (ref_21565 & 0xFFFFFFFF) # MOV operation
ref_21871 = ((ref_21869 & 0xFFFFFFFF) ^ (ref_21857 & 0xFFFFFFFF)) # XOR operation
ref_21976 = (ref_21871 & 0xFFFFFFFF) # MOV operation
ref_24153 = (ref_21976 & 0xFFFFFFFF) # MOV operation
ref_25051 = ref_277 # MOVZX operation
ref_25117 = (ref_25051 & 0xFF) # MOVZX operation
ref_25119 = (ref_25117 & 0xFF) # MOVZX operation
ref_25199 = (ref_24153 & 0xFFFFFFFF) # MOV operation
ref_25203 = (ref_25119 & 0xFFFFFFFF) # MOV operation
ref_25205 = (((ref_25203 & 0xFFFFFFFF) + (ref_25199 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_25311 = (ref_25205 & 0xFFFFFFFF) # MOV operation
ref_25659 = (ref_25311 & 0xFFFFFFFF) # MOV operation
ref_25859 = (ref_25311 & 0xFFFFFFFF) # MOV operation
ref_26051 = (ref_25859 & 0xFFFFFFFF) # MOV operation
ref_26059 = (((ref_26051 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_26066 = (ref_26059 & 0xFFFFFFFF) # MOV operation
ref_26166 = (ref_25659 & 0xFFFFFFFF) # MOV operation
ref_26170 = (ref_26066 & 0xFFFFFFFF) # MOV operation
ref_26172 = (((ref_26170 & 0xFFFFFFFF) + (ref_26166 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_26278 = (ref_26172 & 0xFFFFFFFF) # MOV operation
ref_26626 = (ref_26278 & 0xFFFFFFFF) # MOV operation
ref_26818 = (ref_26626 & 0xFFFFFFFF) # MOV operation
ref_26826 = ((ref_26818 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_26833 = (ref_26826 & 0xFFFFFFFF) # MOV operation
ref_27053 = (ref_26278 & 0xFFFFFFFF) # MOV operation
ref_27125 = (ref_27053 & 0xFFFFFFFF) # MOV operation
ref_27137 = (ref_26833 & 0xFFFFFFFF) # MOV operation
ref_27139 = ((ref_27137 & 0xFFFFFFFF) ^ (ref_27125 & 0xFFFFFFFF)) # XOR operation
ref_27244 = (ref_27139 & 0xFFFFFFFF) # MOV operation
ref_29421 = (ref_27244 & 0xFFFFFFFF) # MOV operation
ref_30319 = ref_276 # MOVZX operation
ref_30385 = (ref_30319 & 0xFF) # MOVZX operation
ref_30387 = (ref_30385 & 0xFF) # MOVZX operation
ref_30467 = (ref_29421 & 0xFFFFFFFF) # MOV operation
ref_30471 = (ref_30387 & 0xFFFFFFFF) # MOV operation
ref_30473 = (((ref_30471 & 0xFFFFFFFF) + (ref_30467 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_30579 = (ref_30473 & 0xFFFFFFFF) # MOV operation
ref_30927 = (ref_30579 & 0xFFFFFFFF) # MOV operation
ref_31127 = (ref_30579 & 0xFFFFFFFF) # MOV operation
ref_31319 = (ref_31127 & 0xFFFFFFFF) # MOV operation
ref_31327 = (((ref_31319 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_31334 = (ref_31327 & 0xFFFFFFFF) # MOV operation
ref_31434 = (ref_30927 & 0xFFFFFFFF) # MOV operation
ref_31438 = (ref_31334 & 0xFFFFFFFF) # MOV operation
ref_31440 = (((ref_31438 & 0xFFFFFFFF) + (ref_31434 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_31546 = (ref_31440 & 0xFFFFFFFF) # MOV operation
ref_31894 = (ref_31546 & 0xFFFFFFFF) # MOV operation
ref_32086 = (ref_31894 & 0xFFFFFFFF) # MOV operation
ref_32094 = ((ref_32086 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_32101 = (ref_32094 & 0xFFFFFFFF) # MOV operation
ref_32321 = (ref_31546 & 0xFFFFFFFF) # MOV operation
ref_32393 = (ref_32321 & 0xFFFFFFFF) # MOV operation
ref_32405 = (ref_32101 & 0xFFFFFFFF) # MOV operation
ref_32407 = ((ref_32405 & 0xFFFFFFFF) ^ (ref_32393 & 0xFFFFFFFF)) # XOR operation
ref_32512 = (ref_32407 & 0xFFFFFFFF) # MOV operation
ref_34689 = (ref_32512 & 0xFFFFFFFF) # MOV operation
ref_35587 = ref_275 # MOVZX operation
ref_35653 = (ref_35587 & 0xFF) # MOVZX operation
ref_35655 = (ref_35653 & 0xFF) # MOVZX operation
ref_35735 = (ref_34689 & 0xFFFFFFFF) # MOV operation
ref_35739 = (ref_35655 & 0xFFFFFFFF) # MOV operation
ref_35741 = (((ref_35739 & 0xFFFFFFFF) + (ref_35735 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_35847 = (ref_35741 & 0xFFFFFFFF) # MOV operation
ref_36195 = (ref_35847 & 0xFFFFFFFF) # MOV operation
ref_36395 = (ref_35847 & 0xFFFFFFFF) # MOV operation
ref_36587 = (ref_36395 & 0xFFFFFFFF) # MOV operation
ref_36595 = (((ref_36587 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_36602 = (ref_36595 & 0xFFFFFFFF) # MOV operation
ref_36702 = (ref_36195 & 0xFFFFFFFF) # MOV operation
ref_36706 = (ref_36602 & 0xFFFFFFFF) # MOV operation
ref_36708 = (((ref_36706 & 0xFFFFFFFF) + (ref_36702 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_36814 = (ref_36708 & 0xFFFFFFFF) # MOV operation
ref_37162 = (ref_36814 & 0xFFFFFFFF) # MOV operation
ref_37354 = (ref_37162 & 0xFFFFFFFF) # MOV operation
ref_37362 = ((ref_37354 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_37369 = (ref_37362 & 0xFFFFFFFF) # MOV operation
ref_37589 = (ref_36814 & 0xFFFFFFFF) # MOV operation
ref_37661 = (ref_37589 & 0xFFFFFFFF) # MOV operation
ref_37673 = (ref_37369 & 0xFFFFFFFF) # MOV operation
ref_37675 = ((ref_37673 & 0xFFFFFFFF) ^ (ref_37661 & 0xFFFFFFFF)) # XOR operation
ref_37780 = (ref_37675 & 0xFFFFFFFF) # MOV operation
ref_39957 = (ref_37780 & 0xFFFFFFFF) # MOV operation
ref_40855 = ref_274 # MOVZX operation
ref_40921 = (ref_40855 & 0xFF) # MOVZX operation
ref_40923 = (ref_40921 & 0xFF) # MOVZX operation
ref_41003 = (ref_39957 & 0xFFFFFFFF) # MOV operation
ref_41007 = (ref_40923 & 0xFFFFFFFF) # MOV operation
ref_41009 = (((ref_41007 & 0xFFFFFFFF) + (ref_41003 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_41115 = (ref_41009 & 0xFFFFFFFF) # MOV operation
ref_41463 = (ref_41115 & 0xFFFFFFFF) # MOV operation
ref_41663 = (ref_41115 & 0xFFFFFFFF) # MOV operation
ref_41855 = (ref_41663 & 0xFFFFFFFF) # MOV operation
ref_41863 = (((ref_41855 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_41870 = (ref_41863 & 0xFFFFFFFF) # MOV operation
ref_41970 = (ref_41463 & 0xFFFFFFFF) # MOV operation
ref_41974 = (ref_41870 & 0xFFFFFFFF) # MOV operation
ref_41976 = (((ref_41974 & 0xFFFFFFFF) + (ref_41970 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_42082 = (ref_41976 & 0xFFFFFFFF) # MOV operation
ref_42430 = (ref_42082 & 0xFFFFFFFF) # MOV operation
ref_42622 = (ref_42430 & 0xFFFFFFFF) # MOV operation
ref_42630 = ((ref_42622 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_42637 = (ref_42630 & 0xFFFFFFFF) # MOV operation
ref_42857 = (ref_42082 & 0xFFFFFFFF) # MOV operation
ref_42929 = (ref_42857 & 0xFFFFFFFF) # MOV operation
ref_42941 = (ref_42637 & 0xFFFFFFFF) # MOV operation
ref_42943 = ((ref_42941 & 0xFFFFFFFF) ^ (ref_42929 & 0xFFFFFFFF)) # XOR operation
ref_43048 = (ref_42943 & 0xFFFFFFFF) # MOV operation
ref_45225 = (ref_43048 & 0xFFFFFFFF) # MOV operation
ref_46123 = ref_273 # MOVZX operation
ref_46189 = (ref_46123 & 0xFF) # MOVZX operation
ref_46191 = (ref_46189 & 0xFF) # MOVZX operation
ref_46271 = (ref_45225 & 0xFFFFFFFF) # MOV operation
ref_46275 = (ref_46191 & 0xFFFFFFFF) # MOV operation
ref_46277 = (((ref_46275 & 0xFFFFFFFF) + (ref_46271 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_46383 = (ref_46277 & 0xFFFFFFFF) # MOV operation
ref_46731 = (ref_46383 & 0xFFFFFFFF) # MOV operation
ref_46931 = (ref_46383 & 0xFFFFFFFF) # MOV operation
ref_47123 = (ref_46931 & 0xFFFFFFFF) # MOV operation
ref_47131 = (((ref_47123 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_47138 = (ref_47131 & 0xFFFFFFFF) # MOV operation
ref_47238 = (ref_46731 & 0xFFFFFFFF) # MOV operation
ref_47242 = (ref_47138 & 0xFFFFFFFF) # MOV operation
ref_47244 = (((ref_47242 & 0xFFFFFFFF) + (ref_47238 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_47350 = (ref_47244 & 0xFFFFFFFF) # MOV operation
ref_47698 = (ref_47350 & 0xFFFFFFFF) # MOV operation
ref_47890 = (ref_47698 & 0xFFFFFFFF) # MOV operation
ref_47898 = ((ref_47890 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_47905 = (ref_47898 & 0xFFFFFFFF) # MOV operation
ref_48125 = (ref_47350 & 0xFFFFFFFF) # MOV operation
ref_48197 = (ref_48125 & 0xFFFFFFFF) # MOV operation
ref_48209 = (ref_47905 & 0xFFFFFFFF) # MOV operation
ref_48211 = ((ref_48209 & 0xFFFFFFFF) ^ (ref_48197 & 0xFFFFFFFF)) # XOR operation
ref_48316 = (ref_48211 & 0xFFFFFFFF) # MOV operation
ref_49550 = (ref_48316 & 0xFFFFFFFF) # MOV operation
ref_49750 = (ref_48316 & 0xFFFFFFFF) # MOV operation
ref_49942 = (ref_49750 & 0xFFFFFFFF) # MOV operation
ref_49950 = (((ref_49942 & 0xFFFFFFFF) << (0x3 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_49957 = (ref_49950 & 0xFFFFFFFF) # MOV operation
ref_50057 = (ref_49550 & 0xFFFFFFFF) # MOV operation
ref_50061 = (ref_49957 & 0xFFFFFFFF) # MOV operation
ref_50063 = (((ref_50061 & 0xFFFFFFFF) + (ref_50057 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_50169 = (ref_50063 & 0xFFFFFFFF) # MOV operation
ref_50517 = (ref_50169 & 0xFFFFFFFF) # MOV operation
ref_50709 = (ref_50517 & 0xFFFFFFFF) # MOV operation
ref_50717 = ((ref_50709 & 0xFFFFFFFF) >> (0xB & 0x1F)) # SHR operation
ref_50724 = (ref_50717 & 0xFFFFFFFF) # MOV operation
ref_50944 = (ref_50169 & 0xFFFFFFFF) # MOV operation
ref_51016 = (ref_50944 & 0xFFFFFFFF) # MOV operation
ref_51028 = (ref_50724 & 0xFFFFFFFF) # MOV operation
ref_51030 = ((ref_51028 & 0xFFFFFFFF) ^ (ref_51016 & 0xFFFFFFFF)) # XOR operation
ref_51135 = (ref_51030 & 0xFFFFFFFF) # MOV operation
ref_51483 = (ref_51135 & 0xFFFFFFFF) # MOV operation
ref_51683 = (ref_51135 & 0xFFFFFFFF) # MOV operation
ref_51875 = (ref_51683 & 0xFFFFFFFF) # MOV operation
ref_51883 = (((ref_51875 & 0xFFFFFFFF) << (0xF & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_51890 = (ref_51883 & 0xFFFFFFFF) # MOV operation
ref_51990 = (ref_51483 & 0xFFFFFFFF) # MOV operation
ref_51994 = (ref_51890 & 0xFFFFFFFF) # MOV operation
ref_51996 = (((ref_51994 & 0xFFFFFFFF) + (ref_51990 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_52102 = (ref_51996 & 0xFFFFFFFF) # MOV operation
ref_52406 = (ref_52102 & 0xFFFFFFFF) # MOV operation
ref_52474 = (ref_52406 & 0xFFFFFFFF) # MOV operation
ref_52498 = (ref_52474 & 0xFFFFFFFF) # MOV operation
ref_52506 = (ref_52498 & 0xFFFFFFFF) # MOV operation
ref_52508 = (ref_52506 & 0xFFFFFFFF) # MOV operation

print ref_52508 & 0xffffffffffffffff
