#!/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_9789 = ref_280 # MOVZX operation
ref_9823 = (ref_9789 & 0xFF) # MOVZX operation
ref_9825 = (ref_9823 & 0xFF) # MOVZX operation
ref_9877 = (ref_9825 & 0xFFFFFFFF) # MOV operation
ref_9879 = (((ref_9877 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_9953 = (ref_9879 & 0xFFFFFFFF) # MOV operation
ref_10205 = (ref_9953 & 0xFFFFFFFF) # MOV operation
ref_10341 = (ref_9953 & 0xFFFFFFFF) # MOV operation
ref_10469 = (ref_10341 & 0xFFFFFFFF) # MOV operation
ref_10477 = (((ref_10469 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_10484 = (ref_10477 & 0xFFFFFFFF) # MOV operation
ref_10552 = (ref_10205 & 0xFFFFFFFF) # MOV operation
ref_10556 = (ref_10484 & 0xFFFFFFFF) # MOV operation
ref_10558 = (((ref_10556 & 0xFFFFFFFF) + (ref_10552 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_10632 = (ref_10558 & 0xFFFFFFFF) # MOV operation
ref_10884 = (ref_10632 & 0xFFFFFFFF) # MOV operation
ref_11012 = (ref_10884 & 0xFFFFFFFF) # MOV operation
ref_11020 = ((ref_11012 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_11027 = (ref_11020 & 0xFFFFFFFF) # MOV operation
ref_11183 = (ref_10632 & 0xFFFFFFFF) # MOV operation
ref_11223 = (ref_11183 & 0xFFFFFFFF) # MOV operation
ref_11235 = (ref_11027 & 0xFFFFFFFF) # MOV operation
ref_11237 = ((ref_11235 & 0xFFFFFFFF) ^ (ref_11223 & 0xFFFFFFFF)) # XOR operation
ref_11310 = (ref_11237 & 0xFFFFFFFF) # MOV operation
ref_12861 = (ref_11310 & 0xFFFFFFFF) # MOV operation
ref_13471 = ref_279 # MOVZX operation
ref_13505 = (ref_13471 & 0xFF) # MOVZX operation
ref_13507 = (ref_13505 & 0xFF) # MOVZX operation
ref_13555 = (ref_12861 & 0xFFFFFFFF) # MOV operation
ref_13559 = (ref_13507 & 0xFFFFFFFF) # MOV operation
ref_13561 = (((ref_13559 & 0xFFFFFFFF) + (ref_13555 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_13635 = (ref_13561 & 0xFFFFFFFF) # MOV operation
ref_13887 = (ref_13635 & 0xFFFFFFFF) # MOV operation
ref_14023 = (ref_13635 & 0xFFFFFFFF) # MOV operation
ref_14151 = (ref_14023 & 0xFFFFFFFF) # MOV operation
ref_14159 = (((ref_14151 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_14166 = (ref_14159 & 0xFFFFFFFF) # MOV operation
ref_14234 = (ref_13887 & 0xFFFFFFFF) # MOV operation
ref_14238 = (ref_14166 & 0xFFFFFFFF) # MOV operation
ref_14240 = (((ref_14238 & 0xFFFFFFFF) + (ref_14234 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14314 = (ref_14240 & 0xFFFFFFFF) # MOV operation
ref_14566 = (ref_14314 & 0xFFFFFFFF) # MOV operation
ref_14694 = (ref_14566 & 0xFFFFFFFF) # MOV operation
ref_14702 = ((ref_14694 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_14709 = (ref_14702 & 0xFFFFFFFF) # MOV operation
ref_14865 = (ref_14314 & 0xFFFFFFFF) # MOV operation
ref_14905 = (ref_14865 & 0xFFFFFFFF) # MOV operation
ref_14917 = (ref_14709 & 0xFFFFFFFF) # MOV operation
ref_14919 = ((ref_14917 & 0xFFFFFFFF) ^ (ref_14905 & 0xFFFFFFFF)) # XOR operation
ref_14992 = (ref_14919 & 0xFFFFFFFF) # MOV operation
ref_16543 = (ref_14992 & 0xFFFFFFFF) # MOV operation
ref_17153 = ref_278 # MOVZX operation
ref_17187 = (ref_17153 & 0xFF) # MOVZX operation
ref_17189 = (ref_17187 & 0xFF) # MOVZX operation
ref_17237 = (ref_16543 & 0xFFFFFFFF) # MOV operation
ref_17241 = (ref_17189 & 0xFFFFFFFF) # MOV operation
ref_17243 = (((ref_17241 & 0xFFFFFFFF) + (ref_17237 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_17317 = (ref_17243 & 0xFFFFFFFF) # MOV operation
ref_17569 = (ref_17317 & 0xFFFFFFFF) # MOV operation
ref_17705 = (ref_17317 & 0xFFFFFFFF) # MOV operation
ref_17833 = (ref_17705 & 0xFFFFFFFF) # MOV operation
ref_17841 = (((ref_17833 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_17848 = (ref_17841 & 0xFFFFFFFF) # MOV operation
ref_17916 = (ref_17569 & 0xFFFFFFFF) # MOV operation
ref_17920 = (ref_17848 & 0xFFFFFFFF) # MOV operation
ref_17922 = (((ref_17920 & 0xFFFFFFFF) + (ref_17916 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_17996 = (ref_17922 & 0xFFFFFFFF) # MOV operation
ref_18248 = (ref_17996 & 0xFFFFFFFF) # MOV operation
ref_18376 = (ref_18248 & 0xFFFFFFFF) # MOV operation
ref_18384 = ((ref_18376 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_18391 = (ref_18384 & 0xFFFFFFFF) # MOV operation
ref_18547 = (ref_17996 & 0xFFFFFFFF) # MOV operation
ref_18587 = (ref_18547 & 0xFFFFFFFF) # MOV operation
ref_18599 = (ref_18391 & 0xFFFFFFFF) # MOV operation
ref_18601 = ((ref_18599 & 0xFFFFFFFF) ^ (ref_18587 & 0xFFFFFFFF)) # XOR operation
ref_18674 = (ref_18601 & 0xFFFFFFFF) # MOV operation
ref_20225 = (ref_18674 & 0xFFFFFFFF) # MOV operation
ref_20835 = ref_277 # MOVZX operation
ref_20869 = (ref_20835 & 0xFF) # MOVZX operation
ref_20871 = (ref_20869 & 0xFF) # MOVZX operation
ref_20919 = (ref_20225 & 0xFFFFFFFF) # MOV operation
ref_20923 = (ref_20871 & 0xFFFFFFFF) # MOV operation
ref_20925 = (((ref_20923 & 0xFFFFFFFF) + (ref_20919 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_20999 = (ref_20925 & 0xFFFFFFFF) # MOV operation
ref_21251 = (ref_20999 & 0xFFFFFFFF) # MOV operation
ref_21387 = (ref_20999 & 0xFFFFFFFF) # MOV operation
ref_21515 = (ref_21387 & 0xFFFFFFFF) # MOV operation
ref_21523 = (((ref_21515 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_21530 = (ref_21523 & 0xFFFFFFFF) # MOV operation
ref_21598 = (ref_21251 & 0xFFFFFFFF) # MOV operation
ref_21602 = (ref_21530 & 0xFFFFFFFF) # MOV operation
ref_21604 = (((ref_21602 & 0xFFFFFFFF) + (ref_21598 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_21678 = (ref_21604 & 0xFFFFFFFF) # MOV operation
ref_21930 = (ref_21678 & 0xFFFFFFFF) # MOV operation
ref_22058 = (ref_21930 & 0xFFFFFFFF) # MOV operation
ref_22066 = ((ref_22058 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_22073 = (ref_22066 & 0xFFFFFFFF) # MOV operation
ref_22229 = (ref_21678 & 0xFFFFFFFF) # MOV operation
ref_22269 = (ref_22229 & 0xFFFFFFFF) # MOV operation
ref_22281 = (ref_22073 & 0xFFFFFFFF) # MOV operation
ref_22283 = ((ref_22281 & 0xFFFFFFFF) ^ (ref_22269 & 0xFFFFFFFF)) # XOR operation
ref_22356 = (ref_22283 & 0xFFFFFFFF) # MOV operation
ref_23907 = (ref_22356 & 0xFFFFFFFF) # MOV operation
ref_24517 = ref_276 # MOVZX operation
ref_24551 = (ref_24517 & 0xFF) # MOVZX operation
ref_24553 = (ref_24551 & 0xFF) # MOVZX operation
ref_24601 = (ref_23907 & 0xFFFFFFFF) # MOV operation
ref_24605 = (ref_24553 & 0xFFFFFFFF) # MOV operation
ref_24607 = (((ref_24605 & 0xFFFFFFFF) + (ref_24601 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_24681 = (ref_24607 & 0xFFFFFFFF) # MOV operation
ref_24933 = (ref_24681 & 0xFFFFFFFF) # MOV operation
ref_25069 = (ref_24681 & 0xFFFFFFFF) # MOV operation
ref_25197 = (ref_25069 & 0xFFFFFFFF) # MOV operation
ref_25205 = (((ref_25197 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_25212 = (ref_25205 & 0xFFFFFFFF) # MOV operation
ref_25280 = (ref_24933 & 0xFFFFFFFF) # MOV operation
ref_25284 = (ref_25212 & 0xFFFFFFFF) # MOV operation
ref_25286 = (((ref_25284 & 0xFFFFFFFF) + (ref_25280 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_25360 = (ref_25286 & 0xFFFFFFFF) # MOV operation
ref_25612 = (ref_25360 & 0xFFFFFFFF) # MOV operation
ref_25740 = (ref_25612 & 0xFFFFFFFF) # MOV operation
ref_25748 = ((ref_25740 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_25755 = (ref_25748 & 0xFFFFFFFF) # MOV operation
ref_25911 = (ref_25360 & 0xFFFFFFFF) # MOV operation
ref_25951 = (ref_25911 & 0xFFFFFFFF) # MOV operation
ref_25963 = (ref_25755 & 0xFFFFFFFF) # MOV operation
ref_25965 = ((ref_25963 & 0xFFFFFFFF) ^ (ref_25951 & 0xFFFFFFFF)) # XOR operation
ref_26038 = (ref_25965 & 0xFFFFFFFF) # MOV operation
ref_27589 = (ref_26038 & 0xFFFFFFFF) # MOV operation
ref_28199 = ref_275 # MOVZX operation
ref_28233 = (ref_28199 & 0xFF) # MOVZX operation
ref_28235 = (ref_28233 & 0xFF) # MOVZX operation
ref_28283 = (ref_27589 & 0xFFFFFFFF) # MOV operation
ref_28287 = (ref_28235 & 0xFFFFFFFF) # MOV operation
ref_28289 = (((ref_28287 & 0xFFFFFFFF) + (ref_28283 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_28363 = (ref_28289 & 0xFFFFFFFF) # MOV operation
ref_28615 = (ref_28363 & 0xFFFFFFFF) # MOV operation
ref_28751 = (ref_28363 & 0xFFFFFFFF) # MOV operation
ref_28879 = (ref_28751 & 0xFFFFFFFF) # MOV operation
ref_28887 = (((ref_28879 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_28894 = (ref_28887 & 0xFFFFFFFF) # MOV operation
ref_28962 = (ref_28615 & 0xFFFFFFFF) # MOV operation
ref_28966 = (ref_28894 & 0xFFFFFFFF) # MOV operation
ref_28968 = (((ref_28966 & 0xFFFFFFFF) + (ref_28962 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_29042 = (ref_28968 & 0xFFFFFFFF) # MOV operation
ref_29294 = (ref_29042 & 0xFFFFFFFF) # MOV operation
ref_29422 = (ref_29294 & 0xFFFFFFFF) # MOV operation
ref_29430 = ((ref_29422 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_29437 = (ref_29430 & 0xFFFFFFFF) # MOV operation
ref_29593 = (ref_29042 & 0xFFFFFFFF) # MOV operation
ref_29633 = (ref_29593 & 0xFFFFFFFF) # MOV operation
ref_29645 = (ref_29437 & 0xFFFFFFFF) # MOV operation
ref_29647 = ((ref_29645 & 0xFFFFFFFF) ^ (ref_29633 & 0xFFFFFFFF)) # XOR operation
ref_29720 = (ref_29647 & 0xFFFFFFFF) # MOV operation
ref_31271 = (ref_29720 & 0xFFFFFFFF) # MOV operation
ref_31881 = ref_274 # MOVZX operation
ref_31915 = (ref_31881 & 0xFF) # MOVZX operation
ref_31917 = (ref_31915 & 0xFF) # MOVZX operation
ref_31965 = (ref_31271 & 0xFFFFFFFF) # MOV operation
ref_31969 = (ref_31917 & 0xFFFFFFFF) # MOV operation
ref_31971 = (((ref_31969 & 0xFFFFFFFF) + (ref_31965 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_32045 = (ref_31971 & 0xFFFFFFFF) # MOV operation
ref_32297 = (ref_32045 & 0xFFFFFFFF) # MOV operation
ref_32433 = (ref_32045 & 0xFFFFFFFF) # MOV operation
ref_32561 = (ref_32433 & 0xFFFFFFFF) # MOV operation
ref_32569 = (((ref_32561 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_32576 = (ref_32569 & 0xFFFFFFFF) # MOV operation
ref_32644 = (ref_32297 & 0xFFFFFFFF) # MOV operation
ref_32648 = (ref_32576 & 0xFFFFFFFF) # MOV operation
ref_32650 = (((ref_32648 & 0xFFFFFFFF) + (ref_32644 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_32724 = (ref_32650 & 0xFFFFFFFF) # MOV operation
ref_32976 = (ref_32724 & 0xFFFFFFFF) # MOV operation
ref_33104 = (ref_32976 & 0xFFFFFFFF) # MOV operation
ref_33112 = ((ref_33104 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_33119 = (ref_33112 & 0xFFFFFFFF) # MOV operation
ref_33275 = (ref_32724 & 0xFFFFFFFF) # MOV operation
ref_33315 = (ref_33275 & 0xFFFFFFFF) # MOV operation
ref_33327 = (ref_33119 & 0xFFFFFFFF) # MOV operation
ref_33329 = ((ref_33327 & 0xFFFFFFFF) ^ (ref_33315 & 0xFFFFFFFF)) # XOR operation
ref_33402 = (ref_33329 & 0xFFFFFFFF) # MOV operation
ref_34953 = (ref_33402 & 0xFFFFFFFF) # MOV operation
ref_35563 = ref_273 # MOVZX operation
ref_35597 = (ref_35563 & 0xFF) # MOVZX operation
ref_35599 = (ref_35597 & 0xFF) # MOVZX operation
ref_35647 = (ref_34953 & 0xFFFFFFFF) # MOV operation
ref_35651 = (ref_35599 & 0xFFFFFFFF) # MOV operation
ref_35653 = (((ref_35651 & 0xFFFFFFFF) + (ref_35647 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_35727 = (ref_35653 & 0xFFFFFFFF) # MOV operation
ref_35979 = (ref_35727 & 0xFFFFFFFF) # MOV operation
ref_36115 = (ref_35727 & 0xFFFFFFFF) # MOV operation
ref_36243 = (ref_36115 & 0xFFFFFFFF) # MOV operation
ref_36251 = (((ref_36243 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_36258 = (ref_36251 & 0xFFFFFFFF) # MOV operation
ref_36326 = (ref_35979 & 0xFFFFFFFF) # MOV operation
ref_36330 = (ref_36258 & 0xFFFFFFFF) # MOV operation
ref_36332 = (((ref_36330 & 0xFFFFFFFF) + (ref_36326 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_36406 = (ref_36332 & 0xFFFFFFFF) # MOV operation
ref_36658 = (ref_36406 & 0xFFFFFFFF) # MOV operation
ref_36786 = (ref_36658 & 0xFFFFFFFF) # MOV operation
ref_36794 = ((ref_36786 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_36801 = (ref_36794 & 0xFFFFFFFF) # MOV operation
ref_36957 = (ref_36406 & 0xFFFFFFFF) # MOV operation
ref_36997 = (ref_36957 & 0xFFFFFFFF) # MOV operation
ref_37009 = (ref_36801 & 0xFFFFFFFF) # MOV operation
ref_37011 = ((ref_37009 & 0xFFFFFFFF) ^ (ref_36997 & 0xFFFFFFFF)) # XOR operation
ref_37084 = (ref_37011 & 0xFFFFFFFF) # MOV operation
ref_37955 = (ref_37084 & 0xFFFFFFFF) # MOV operation
ref_38091 = (ref_37084 & 0xFFFFFFFF) # MOV operation
ref_38219 = (ref_38091 & 0xFFFFFFFF) # MOV operation
ref_38227 = (((ref_38219 & 0xFFFFFFFF) << (0x3 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_38234 = (ref_38227 & 0xFFFFFFFF) # MOV operation
ref_38302 = (ref_37955 & 0xFFFFFFFF) # MOV operation
ref_38306 = (ref_38234 & 0xFFFFFFFF) # MOV operation
ref_38308 = (((ref_38306 & 0xFFFFFFFF) + (ref_38302 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_38382 = (ref_38308 & 0xFFFFFFFF) # MOV operation
ref_38634 = (ref_38382 & 0xFFFFFFFF) # MOV operation
ref_38762 = (ref_38634 & 0xFFFFFFFF) # MOV operation
ref_38770 = ((ref_38762 & 0xFFFFFFFF) >> (0xB & 0x1F)) # SHR operation
ref_38777 = (ref_38770 & 0xFFFFFFFF) # MOV operation
ref_38933 = (ref_38382 & 0xFFFFFFFF) # MOV operation
ref_38973 = (ref_38933 & 0xFFFFFFFF) # MOV operation
ref_38985 = (ref_38777 & 0xFFFFFFFF) # MOV operation
ref_38987 = ((ref_38985 & 0xFFFFFFFF) ^ (ref_38973 & 0xFFFFFFFF)) # XOR operation
ref_39060 = (ref_38987 & 0xFFFFFFFF) # MOV operation
ref_39312 = (ref_39060 & 0xFFFFFFFF) # MOV operation
ref_39448 = (ref_39060 & 0xFFFFFFFF) # MOV operation
ref_39576 = (ref_39448 & 0xFFFFFFFF) # MOV operation
ref_39584 = (((ref_39576 & 0xFFFFFFFF) << (0xF & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_39591 = (ref_39584 & 0xFFFFFFFF) # MOV operation
ref_39659 = (ref_39312 & 0xFFFFFFFF) # MOV operation
ref_39663 = (ref_39591 & 0xFFFFFFFF) # MOV operation
ref_39665 = (((ref_39663 & 0xFFFFFFFF) + (ref_39659 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_39739 = (ref_39665 & 0xFFFFFFFF) # MOV operation
ref_39954 = (ref_39739 & 0xFFFFFFFF) # MOV operation
ref_39990 = (ref_39954 & 0xFFFFFFFF) # MOV operation
ref_40014 = (ref_39990 & 0xFFFFFFFF) # MOV operation
ref_40022 = (ref_40014 & 0xFFFFFFFF) # MOV operation
ref_40024 = (ref_40022 & 0xFFFFFFFF) # MOV operation

print ref_40024 & 0xffffffffffffffff
