#!/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_6496 = ref_280 # MOVZX operation
ref_6514 = (ref_6496 & 0xFF) # MOVZX operation
ref_6516 = (ref_6514 & 0xFF) # MOVZX operation
ref_6556 = (ref_6516 & 0xFFFFFFFF) # MOV operation
ref_6558 = (((ref_6556 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_6594 = (ref_6558 & 0xFFFFFFFF) # MOV operation
ref_6706 = (ref_6594 & 0xFFFFFFFF) # MOV operation
ref_6774 = (ref_6594 & 0xFFFFFFFF) # MOV operation
ref_6913 = (ref_6774 & 0xFFFFFFFF) # MOV operation
ref_6929 = (((ref_6913 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_6936 = (ref_6929 & 0xFFFFFFFF) # MOV operation
ref_6958 = (ref_6706 & 0xFFFFFFFF) # MOV operation
ref_6962 = (ref_6936 & 0xFFFFFFFF) # MOV operation
ref_6964 = (((ref_6962 & 0xFFFFFFFF) + (ref_6958 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_7000 = (ref_6964 & 0xFFFFFFFF) # MOV operation
ref_7112 = (ref_7000 & 0xFFFFFFFF) # MOV operation
ref_7146 = (ref_7112 & 0xFFFFFFFF) # MOV operation
ref_7154 = ((ref_7146 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_7161 = (ref_7154 & 0xFFFFFFFF) # MOV operation
ref_7211 = (ref_7000 & 0xFFFFFFFF) # MOV operation
ref_7225 = (ref_7211 & 0xFFFFFFFF) # MOV operation
ref_7237 = (ref_7161 & 0xFFFFFFFF) # MOV operation
ref_7239 = ((ref_7237 & 0xFFFFFFFF) ^ (ref_7225 & 0xFFFFFFFF)) # XOR operation
ref_7274 = (ref_7239 & 0xFFFFFFFF) # MOV operation
ref_8248 = (ref_7274 & 0xFFFFFFFF) # MOV operation
ref_8554 = ref_279 # MOVZX operation
ref_8572 = (ref_8554 & 0xFF) # MOVZX operation
ref_8574 = (ref_8572 & 0xFF) # MOVZX operation
ref_8602 = (ref_8248 & 0xFFFFFFFF) # MOV operation
ref_8614 = (ref_8574 & 0xFFFFFFFF) # MOV operation
ref_8616 = (((ref_8614 & 0xFFFFFFFF) + (ref_8602 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_8652 = (ref_8616 & 0xFFFFFFFF) # MOV operation
ref_8764 = (ref_8652 & 0xFFFFFFFF) # MOV operation
ref_8832 = (ref_8652 & 0xFFFFFFFF) # MOV operation
ref_8971 = (ref_8832 & 0xFFFFFFFF) # MOV operation
ref_8987 = (((ref_8971 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_8994 = (ref_8987 & 0xFFFFFFFF) # MOV operation
ref_9016 = (ref_8764 & 0xFFFFFFFF) # MOV operation
ref_9020 = (ref_8994 & 0xFFFFFFFF) # MOV operation
ref_9022 = (((ref_9020 & 0xFFFFFFFF) + (ref_9016 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_9058 = (ref_9022 & 0xFFFFFFFF) # MOV operation
ref_9170 = (ref_9058 & 0xFFFFFFFF) # MOV operation
ref_9204 = (ref_9170 & 0xFFFFFFFF) # MOV operation
ref_9212 = ((ref_9204 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_9219 = (ref_9212 & 0xFFFFFFFF) # MOV operation
ref_9269 = (ref_9058 & 0xFFFFFFFF) # MOV operation
ref_9283 = (ref_9269 & 0xFFFFFFFF) # MOV operation
ref_9295 = (ref_9219 & 0xFFFFFFFF) # MOV operation
ref_9297 = ((ref_9295 & 0xFFFFFFFF) ^ (ref_9283 & 0xFFFFFFFF)) # XOR operation
ref_9332 = (ref_9297 & 0xFFFFFFFF) # MOV operation
ref_10306 = (ref_9332 & 0xFFFFFFFF) # MOV operation
ref_10612 = ref_278 # MOVZX operation
ref_10630 = (ref_10612 & 0xFF) # MOVZX operation
ref_10632 = (ref_10630 & 0xFF) # MOVZX operation
ref_10660 = (ref_10306 & 0xFFFFFFFF) # MOV operation
ref_10672 = (ref_10632 & 0xFFFFFFFF) # MOV operation
ref_10674 = (((ref_10672 & 0xFFFFFFFF) + (ref_10660 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_10710 = (ref_10674 & 0xFFFFFFFF) # MOV operation
ref_10822 = (ref_10710 & 0xFFFFFFFF) # MOV operation
ref_10890 = (ref_10710 & 0xFFFFFFFF) # MOV operation
ref_11029 = (ref_10890 & 0xFFFFFFFF) # MOV operation
ref_11045 = (((ref_11029 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_11052 = (ref_11045 & 0xFFFFFFFF) # MOV operation
ref_11074 = (ref_10822 & 0xFFFFFFFF) # MOV operation
ref_11078 = (ref_11052 & 0xFFFFFFFF) # MOV operation
ref_11080 = (((ref_11078 & 0xFFFFFFFF) + (ref_11074 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_11116 = (ref_11080 & 0xFFFFFFFF) # MOV operation
ref_11228 = (ref_11116 & 0xFFFFFFFF) # MOV operation
ref_11262 = (ref_11228 & 0xFFFFFFFF) # MOV operation
ref_11270 = ((ref_11262 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_11277 = (ref_11270 & 0xFFFFFFFF) # MOV operation
ref_11327 = (ref_11116 & 0xFFFFFFFF) # MOV operation
ref_11341 = (ref_11327 & 0xFFFFFFFF) # MOV operation
ref_11353 = (ref_11277 & 0xFFFFFFFF) # MOV operation
ref_11355 = ((ref_11353 & 0xFFFFFFFF) ^ (ref_11341 & 0xFFFFFFFF)) # XOR operation
ref_11390 = (ref_11355 & 0xFFFFFFFF) # MOV operation
ref_12364 = (ref_11390 & 0xFFFFFFFF) # MOV operation
ref_12670 = ref_277 # MOVZX operation
ref_12688 = (ref_12670 & 0xFF) # MOVZX operation
ref_12690 = (ref_12688 & 0xFF) # MOVZX operation
ref_12718 = (ref_12364 & 0xFFFFFFFF) # MOV operation
ref_12730 = (ref_12690 & 0xFFFFFFFF) # MOV operation
ref_12732 = (((ref_12730 & 0xFFFFFFFF) + (ref_12718 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_12768 = (ref_12732 & 0xFFFFFFFF) # MOV operation
ref_12880 = (ref_12768 & 0xFFFFFFFF) # MOV operation
ref_12948 = (ref_12768 & 0xFFFFFFFF) # MOV operation
ref_13087 = (ref_12948 & 0xFFFFFFFF) # MOV operation
ref_13103 = (((ref_13087 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_13110 = (ref_13103 & 0xFFFFFFFF) # MOV operation
ref_13132 = (ref_12880 & 0xFFFFFFFF) # MOV operation
ref_13136 = (ref_13110 & 0xFFFFFFFF) # MOV operation
ref_13138 = (((ref_13136 & 0xFFFFFFFF) + (ref_13132 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_13174 = (ref_13138 & 0xFFFFFFFF) # MOV operation
ref_13286 = (ref_13174 & 0xFFFFFFFF) # MOV operation
ref_13320 = (ref_13286 & 0xFFFFFFFF) # MOV operation
ref_13328 = ((ref_13320 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_13335 = (ref_13328 & 0xFFFFFFFF) # MOV operation
ref_13385 = (ref_13174 & 0xFFFFFFFF) # MOV operation
ref_13399 = (ref_13385 & 0xFFFFFFFF) # MOV operation
ref_13411 = (ref_13335 & 0xFFFFFFFF) # MOV operation
ref_13413 = ((ref_13411 & 0xFFFFFFFF) ^ (ref_13399 & 0xFFFFFFFF)) # XOR operation
ref_13448 = (ref_13413 & 0xFFFFFFFF) # MOV operation
ref_14422 = (ref_13448 & 0xFFFFFFFF) # MOV operation
ref_14728 = ref_276 # MOVZX operation
ref_14746 = (ref_14728 & 0xFF) # MOVZX operation
ref_14748 = (ref_14746 & 0xFF) # MOVZX operation
ref_14776 = (ref_14422 & 0xFFFFFFFF) # MOV operation
ref_14788 = (ref_14748 & 0xFFFFFFFF) # MOV operation
ref_14790 = (((ref_14788 & 0xFFFFFFFF) + (ref_14776 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_14826 = (ref_14790 & 0xFFFFFFFF) # MOV operation
ref_14938 = (ref_14826 & 0xFFFFFFFF) # MOV operation
ref_15006 = (ref_14826 & 0xFFFFFFFF) # MOV operation
ref_15145 = (ref_15006 & 0xFFFFFFFF) # MOV operation
ref_15161 = (((ref_15145 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_15168 = (ref_15161 & 0xFFFFFFFF) # MOV operation
ref_15190 = (ref_14938 & 0xFFFFFFFF) # MOV operation
ref_15194 = (ref_15168 & 0xFFFFFFFF) # MOV operation
ref_15196 = (((ref_15194 & 0xFFFFFFFF) + (ref_15190 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_15232 = (ref_15196 & 0xFFFFFFFF) # MOV operation
ref_15344 = (ref_15232 & 0xFFFFFFFF) # MOV operation
ref_15378 = (ref_15344 & 0xFFFFFFFF) # MOV operation
ref_15386 = ((ref_15378 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_15393 = (ref_15386 & 0xFFFFFFFF) # MOV operation
ref_15443 = (ref_15232 & 0xFFFFFFFF) # MOV operation
ref_15457 = (ref_15443 & 0xFFFFFFFF) # MOV operation
ref_15469 = (ref_15393 & 0xFFFFFFFF) # MOV operation
ref_15471 = ((ref_15469 & 0xFFFFFFFF) ^ (ref_15457 & 0xFFFFFFFF)) # XOR operation
ref_15506 = (ref_15471 & 0xFFFFFFFF) # MOV operation
ref_16480 = (ref_15506 & 0xFFFFFFFF) # MOV operation
ref_16786 = ref_275 # MOVZX operation
ref_16804 = (ref_16786 & 0xFF) # MOVZX operation
ref_16806 = (ref_16804 & 0xFF) # MOVZX operation
ref_16834 = (ref_16480 & 0xFFFFFFFF) # MOV operation
ref_16846 = (ref_16806 & 0xFFFFFFFF) # MOV operation
ref_16848 = (((ref_16846 & 0xFFFFFFFF) + (ref_16834 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_16884 = (ref_16848 & 0xFFFFFFFF) # MOV operation
ref_16996 = (ref_16884 & 0xFFFFFFFF) # MOV operation
ref_17064 = (ref_16884 & 0xFFFFFFFF) # MOV operation
ref_17203 = (ref_17064 & 0xFFFFFFFF) # MOV operation
ref_17219 = (((ref_17203 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_17226 = (ref_17219 & 0xFFFFFFFF) # MOV operation
ref_17248 = (ref_16996 & 0xFFFFFFFF) # MOV operation
ref_17252 = (ref_17226 & 0xFFFFFFFF) # MOV operation
ref_17254 = (((ref_17252 & 0xFFFFFFFF) + (ref_17248 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_17290 = (ref_17254 & 0xFFFFFFFF) # MOV operation
ref_17402 = (ref_17290 & 0xFFFFFFFF) # MOV operation
ref_17436 = (ref_17402 & 0xFFFFFFFF) # MOV operation
ref_17444 = ((ref_17436 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_17451 = (ref_17444 & 0xFFFFFFFF) # MOV operation
ref_17501 = (ref_17290 & 0xFFFFFFFF) # MOV operation
ref_17515 = (ref_17501 & 0xFFFFFFFF) # MOV operation
ref_17527 = (ref_17451 & 0xFFFFFFFF) # MOV operation
ref_17529 = ((ref_17527 & 0xFFFFFFFF) ^ (ref_17515 & 0xFFFFFFFF)) # XOR operation
ref_17564 = (ref_17529 & 0xFFFFFFFF) # MOV operation
ref_18538 = (ref_17564 & 0xFFFFFFFF) # MOV operation
ref_18844 = ref_274 # MOVZX operation
ref_18862 = (ref_18844 & 0xFF) # MOVZX operation
ref_18864 = (ref_18862 & 0xFF) # MOVZX operation
ref_18892 = (ref_18538 & 0xFFFFFFFF) # MOV operation
ref_18904 = (ref_18864 & 0xFFFFFFFF) # MOV operation
ref_18906 = (((ref_18904 & 0xFFFFFFFF) + (ref_18892 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_18942 = (ref_18906 & 0xFFFFFFFF) # MOV operation
ref_19054 = (ref_18942 & 0xFFFFFFFF) # MOV operation
ref_19122 = (ref_18942 & 0xFFFFFFFF) # MOV operation
ref_19261 = (ref_19122 & 0xFFFFFFFF) # MOV operation
ref_19277 = (((ref_19261 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_19284 = (ref_19277 & 0xFFFFFFFF) # MOV operation
ref_19306 = (ref_19054 & 0xFFFFFFFF) # MOV operation
ref_19310 = (ref_19284 & 0xFFFFFFFF) # MOV operation
ref_19312 = (((ref_19310 & 0xFFFFFFFF) + (ref_19306 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_19348 = (ref_19312 & 0xFFFFFFFF) # MOV operation
ref_19460 = (ref_19348 & 0xFFFFFFFF) # MOV operation
ref_19494 = (ref_19460 & 0xFFFFFFFF) # MOV operation
ref_19502 = ((ref_19494 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_19509 = (ref_19502 & 0xFFFFFFFF) # MOV operation
ref_19559 = (ref_19348 & 0xFFFFFFFF) # MOV operation
ref_19573 = (ref_19559 & 0xFFFFFFFF) # MOV operation
ref_19585 = (ref_19509 & 0xFFFFFFFF) # MOV operation
ref_19587 = ((ref_19585 & 0xFFFFFFFF) ^ (ref_19573 & 0xFFFFFFFF)) # XOR operation
ref_19622 = (ref_19587 & 0xFFFFFFFF) # MOV operation
ref_20596 = (ref_19622 & 0xFFFFFFFF) # MOV operation
ref_20902 = ref_273 # MOVZX operation
ref_20920 = (ref_20902 & 0xFF) # MOVZX operation
ref_20922 = (ref_20920 & 0xFF) # MOVZX operation
ref_20950 = (ref_20596 & 0xFFFFFFFF) # MOV operation
ref_20962 = (ref_20922 & 0xFFFFFFFF) # MOV operation
ref_20964 = (((ref_20962 & 0xFFFFFFFF) + (ref_20950 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_21000 = (ref_20964 & 0xFFFFFFFF) # MOV operation
ref_21112 = (ref_21000 & 0xFFFFFFFF) # MOV operation
ref_21180 = (ref_21000 & 0xFFFFFFFF) # MOV operation
ref_21319 = (ref_21180 & 0xFFFFFFFF) # MOV operation
ref_21335 = (((ref_21319 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_21342 = (ref_21335 & 0xFFFFFFFF) # MOV operation
ref_21364 = (ref_21112 & 0xFFFFFFFF) # MOV operation
ref_21368 = (ref_21342 & 0xFFFFFFFF) # MOV operation
ref_21370 = (((ref_21368 & 0xFFFFFFFF) + (ref_21364 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_21406 = (ref_21370 & 0xFFFFFFFF) # MOV operation
ref_21518 = (ref_21406 & 0xFFFFFFFF) # MOV operation
ref_21552 = (ref_21518 & 0xFFFFFFFF) # MOV operation
ref_21560 = ((ref_21552 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_21567 = (ref_21560 & 0xFFFFFFFF) # MOV operation
ref_21617 = (ref_21406 & 0xFFFFFFFF) # MOV operation
ref_21631 = (ref_21617 & 0xFFFFFFFF) # MOV operation
ref_21643 = (ref_21567 & 0xFFFFFFFF) # MOV operation
ref_21645 = ((ref_21643 & 0xFFFFFFFF) ^ (ref_21631 & 0xFFFFFFFF)) # XOR operation
ref_21680 = (ref_21645 & 0xFFFFFFFF) # MOV operation
ref_22486 = (ref_21680 & 0xFFFFFFFF) # MOV operation
ref_22554 = (ref_21680 & 0xFFFFFFFF) # MOV operation
ref_22590 = (ref_22554 & 0xFFFFFFFF) # MOV operation
ref_22606 = (((ref_22590 & 0xFFFFFFFF) << (0x3 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_22613 = (ref_22606 & 0xFFFFFFFF) # MOV operation
ref_22641 = (ref_22486 & 0xFFFFFFFF) # MOV operation
ref_22653 = (ref_22613 & 0xFFFFFFFF) # MOV operation
ref_22655 = (((ref_22653 & 0xFFFFFFFF) + (ref_22641 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_22691 = (ref_22655 & 0xFFFFFFFF) # MOV operation
ref_22803 = (ref_22691 & 0xFFFFFFFF) # MOV operation
ref_22839 = (ref_22803 & 0xFFFFFFFF) # MOV operation
ref_22855 = ((ref_22839 & 0xFFFFFFFF) >> (0xB & 0x1F)) # SHR operation
ref_22862 = (ref_22855 & 0xFFFFFFFF) # MOV operation
ref_22930 = (ref_22691 & 0xFFFFFFFF) # MOV operation
ref_22958 = (ref_22930 & 0xFFFFFFFF) # MOV operation
ref_22970 = (ref_22862 & 0xFFFFFFFF) # MOV operation
ref_22972 = ((ref_22970 & 0xFFFFFFFF) ^ (ref_22958 & 0xFFFFFFFF)) # XOR operation
ref_23007 = (ref_22972 & 0xFFFFFFFF) # MOV operation
ref_23119 = (ref_23007 & 0xFFFFFFFF) # MOV operation
ref_23187 = (ref_23007 & 0xFFFFFFFF) # MOV operation
ref_23223 = (ref_23187 & 0xFFFFFFFF) # MOV operation
ref_23239 = (((ref_23223 & 0xFFFFFFFF) << (0xF & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_23246 = (ref_23239 & 0xFFFFFFFF) # MOV operation
ref_23274 = (ref_23119 & 0xFFFFFFFF) # MOV operation
ref_23286 = (ref_23246 & 0xFFFFFFFF) # MOV operation
ref_23288 = (((ref_23286 & 0xFFFFFFFF) + (ref_23274 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_23324 = (ref_23288 & 0xFFFFFFFF) # MOV operation
ref_23579 = (ref_23324 & 0xFFFFFFFF) # MOV operation
ref_23711 = (ref_23579 & 0xFFFFFFFF) # MOV operation
ref_23735 = (ref_23711 & 0xFFFFFFFF) # MOV operation
ref_23743 = (ref_23735 & 0xFFFFFFFF) # MOV operation
ref_23745 = (ref_23743 & 0xFFFFFFFF) # MOV operation

print ref_23745 & 0xffffffffffffffff
