#!/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_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_6532 = ref_278 # MOV operation
ref_6608 = ref_6532 # MOV operation
ref_6622 = (ref_6608 >> (0x5 & 0x3F)) # SHR operation
ref_6723 = ref_6622 # MOV operation
ref_6737 = (0x1376783EF7559EA & ref_6723) # AND operation
ref_6846 = ref_6737 # MOV operation
ref_6848 = ((ref_6846 >> 56) & 0xFF) # Byte reference - MOV operation
ref_6849 = ((ref_6846 >> 48) & 0xFF) # Byte reference - MOV operation
ref_6850 = ((ref_6846 >> 40) & 0xFF) # Byte reference - MOV operation
ref_6851 = ((ref_6846 >> 32) & 0xFF) # Byte reference - MOV operation
ref_6852 = ((ref_6846 >> 24) & 0xFF) # Byte reference - MOV operation
ref_6853 = ((ref_6846 >> 16) & 0xFF) # Byte reference - MOV operation
ref_6854 = ((ref_6846 >> 8) & 0xFF) # Byte reference - MOV operation
ref_6855 = (ref_6846 & 0xFF) # Byte reference - MOV operation
ref_8586 = ref_6846 # MOV operation
ref_8786 = ref_8586 # MOV operation
ref_8792 = (0x7063FB7 & ref_8786) # AND operation
ref_9746 = ref_278 # MOV operation
ref_9822 = ref_9746 # MOV operation
ref_9836 = (0x1A5612E2 | ref_9822) # OR operation
ref_9937 = ref_9836 # MOV operation
ref_9949 = ref_8792 # MOV operation
ref_9951 = ((ref_9949 + ref_9937) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10061 = ref_9951 # MOV operation
ref_10063 = ((ref_10061 >> 56) & 0xFF) # Byte reference - MOV operation
ref_10064 = ((ref_10061 >> 48) & 0xFF) # Byte reference - MOV operation
ref_10065 = ((ref_10061 >> 40) & 0xFF) # Byte reference - MOV operation
ref_10066 = ((ref_10061 >> 32) & 0xFF) # Byte reference - MOV operation
ref_10067 = ((ref_10061 >> 24) & 0xFF) # Byte reference - MOV operation
ref_10068 = ((ref_10061 >> 16) & 0xFF) # Byte reference - MOV operation
ref_10069 = ((ref_10061 >> 8) & 0xFF) # Byte reference - MOV operation
ref_10070 = (ref_10061 & 0xFF) # Byte reference - MOV operation
ref_11716 = ref_278 # MOV operation
ref_11916 = ref_11716 # MOV operation
ref_11922 = ((ref_11916 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_11930 = ref_11922 # MOV operation
ref_13196 = ref_10061 # MOV operation
ref_13396 = ref_13196 # MOV operation
ref_13404 = (ref_13396 >> (0x3 & 0x3F)) # SHR operation
ref_13411 = ref_13404 # MOV operation
ref_13631 = ref_13411 # MOV operation
ref_13637 = (0xF & ref_13631) # AND operation
ref_13862 = ref_13637 # MOV operation
ref_13868 = (0x1 | ref_13862) # OR operation
ref_13981 = ref_13868 # MOV operation
ref_13983 = ((0x40 - ref_13981) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_13991 = ref_13983 # MOV operation
ref_14215 = ref_13991 # MOV operation
ref_14217 = (0x3162E74F >> ((ref_14215 & 0xFF) & 0x3F)) # SHR operation
ref_15372 = ref_10061 # MOV operation
ref_15572 = ref_15372 # MOV operation
ref_15580 = (ref_15572 >> (0x3 & 0x3F)) # SHR operation
ref_15587 = ref_15580 # MOV operation
ref_15683 = ref_15587 # MOV operation
ref_15697 = (0xF & ref_15683) # AND operation
ref_15922 = ref_15697 # MOV operation
ref_15928 = (0x1 | ref_15922) # OR operation
ref_16041 = ref_15928 # MOV operation
ref_16043 = (ref_16041 & 0xFFFFFFFF) # MOV operation
ref_16045 = ((0x3162E74F << ((ref_16043 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_16052 = ref_16045 # MOV operation
ref_16148 = ref_16052 # MOV operation
ref_16160 = ref_14217 # MOV operation
ref_16162 = (ref_16160 | ref_16148) # OR operation
ref_16387 = ref_16162 # MOV operation
ref_16395 = (ref_16387 >> (0x4 & 0x3F)) # SHR operation
ref_16402 = ref_16395 # MOV operation
ref_16498 = ref_16402 # MOV operation
ref_16512 = (0x7 & ref_16498) # AND operation
ref_16613 = ref_16512 # MOV operation
ref_16627 = (0x1 | ref_16613) # OR operation
ref_16736 = ref_11930 # MOV operation
ref_16740 = ref_16627 # MOV operation
ref_16742 = (ref_16740 & 0xFFFFFFFF) # MOV operation
ref_16744 = ((ref_16736 << ((ref_16742 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_16751 = ref_16744 # MOV operation
ref_16855 = ref_16751 # MOV operation
ref_18510 = ref_278 # MOV operation
ref_18710 = ref_18510 # MOV operation
ref_18716 = ((ref_18710 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_18724 = ref_18716 # MOV operation
ref_18828 = ref_18724 # MOV operation
ref_21873 = ref_10061 # MOV operation
ref_22073 = ref_21873 # MOV operation
ref_22079 = (0xF & ref_22073) # AND operation
ref_22304 = ref_22079 # MOV operation
ref_22312 = ((ref_22304 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_22319 = ref_22312 # MOV operation
ref_23237 = ref_18828 # MOV operation
ref_23313 = ref_23237 # MOV operation
ref_23325 = ref_22319 # MOV operation
ref_23327 = (ref_23325 | ref_23313) # OR operation
ref_23436 = ref_23327 # MOV operation
ref_25176 = ref_16855 # MOV operation
ref_26190 = ref_23436 # MOV operation
ref_26266 = ref_26190 # MOV operation
ref_26280 = (0x1F & ref_26266) # AND operation
ref_26505 = ref_26280 # MOV operation
ref_26513 = ((ref_26505 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_26520 = ref_26513 # MOV operation
ref_26624 = ref_25176 # MOV operation
ref_26628 = ref_26520 # MOV operation
ref_26630 = (ref_26628 | ref_26624) # OR operation
ref_26739 = ref_26630 # MOV operation
ref_27657 = ref_23436 # MOV operation
ref_28991 = ref_10061 # MOV operation
ref_29067 = ref_28991 # MOV operation
ref_29081 = (0xF & ref_29067) # AND operation
ref_29306 = ref_29081 # MOV operation
ref_29314 = ((ref_29306 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_29321 = ref_29314 # MOV operation
ref_29425 = ref_27657 # MOV operation
ref_29429 = ref_29321 # MOV operation
ref_29431 = (ref_29429 | ref_29425) # OR operation
ref_30362 = ref_29431 # MOV operation
ref_33727 = ref_30362 # MOV operation
ref_33927 = ref_33727 # MOV operation
ref_33933 = (0xF & ref_33927) # AND operation
ref_34158 = ref_33933 # MOV operation
ref_34166 = ((ref_34158 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_34173 = ref_34166 # MOV operation
ref_35091 = ref_30362 # MOV operation
ref_35167 = ref_35091 # MOV operation
ref_35179 = ref_34173 # MOV operation
ref_35181 = (ref_35179 | ref_35167) # OR operation
ref_35290 = ref_35181 # MOV operation
ref_37030 = ref_26739 # MOV operation
ref_38044 = ref_35290 # MOV operation
ref_38120 = ref_38044 # MOV operation
ref_38134 = (0x1F & ref_38120) # AND operation
ref_38359 = ref_38134 # MOV operation
ref_38367 = ((ref_38359 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38374 = ref_38367 # MOV operation
ref_38478 = ref_37030 # MOV operation
ref_38482 = ref_38374 # MOV operation
ref_38484 = (ref_38482 | ref_38478) # OR operation
ref_38593 = ref_38484 # MOV operation
ref_38595 = ((ref_38593 >> 56) & 0xFF) # Byte reference - MOV operation
ref_38596 = ((ref_38593 >> 48) & 0xFF) # Byte reference - MOV operation
ref_38597 = ((ref_38593 >> 40) & 0xFF) # Byte reference - MOV operation
ref_38598 = ((ref_38593 >> 32) & 0xFF) # Byte reference - MOV operation
ref_38599 = ((ref_38593 >> 24) & 0xFF) # Byte reference - MOV operation
ref_38600 = ((ref_38593 >> 16) & 0xFF) # Byte reference - MOV operation
ref_38601 = ((ref_38593 >> 8) & 0xFF) # Byte reference - MOV operation
ref_38602 = (ref_38593 & 0xFF) # Byte reference - MOV operation
ref_39511 = ref_35290 # MOV operation
ref_40845 = ref_35290 # MOV operation
ref_40921 = ref_40845 # MOV operation
ref_40935 = (0xF & ref_40921) # AND operation
ref_41160 = ref_40935 # MOV operation
ref_41168 = ((ref_41160 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_41175 = ref_41168 # MOV operation
ref_41279 = ref_39511 # MOV operation
ref_41283 = ref_41175 # MOV operation
ref_41285 = (ref_41283 | ref_41279) # OR operation
ref_42216 = ref_41285 # MOV operation
ref_49348 = ref_42216 # MOV operation
ref_50362 = ref_38593 # MOV operation
ref_51260 = ref_38593 # MOV operation
ref_51336 = ref_51260 # MOV operation
ref_51348 = ref_50362 # MOV operation
ref_51350 = ((ref_51348 + ref_51336) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_51452 = ref_51350 # MOV operation
ref_51466 = (0x7 & ref_51452) # AND operation
ref_51691 = ref_51466 # MOV operation
ref_51699 = ((ref_51691 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_51706 = ref_51699 # MOV operation
ref_51810 = ref_49348 # MOV operation
ref_51814 = ref_51706 # MOV operation
ref_51816 = (ref_51814 | ref_51810) # OR operation
ref_52747 = ref_51816 # MOV operation
ref_54271 = ((((ref_38595) << 8 | ref_38596) << 8 | ref_38597) << 8 | ref_38598) # MOV operation
ref_54479 = (ref_54271 & 0xFFFFFFFF) # MOV operation
ref_55999 = ((((ref_38599) << 8 | ref_38600) << 8 | ref_38601) << 8 | ref_38602) # MOV operation
ref_57507 = (ref_55999 & 0xFFFFFFFF) # MOV operation
ref_57509 = (((ref_57507 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_57510 = (((ref_57507 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_57511 = (((ref_57507 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_57512 = ((ref_57507 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_57727 = (ref_54479 & 0xFFFFFFFF) # MOV operation
ref_59235 = (ref_57727 & 0xFFFFFFFF) # MOV operation
ref_59237 = (((ref_59235 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_59238 = (((ref_59235 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_59239 = (((ref_59235 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_59240 = ((ref_59235 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_60755 = ref_6850 # MOVZX operation
ref_60959 = (ref_60755 & 0xFF) # MOVZX operation
ref_62475 = ref_6851 # MOVZX operation
ref_63979 = (ref_62475 & 0xFF) # MOVZX operation
ref_63981 = (ref_63979 & 0xFF) # Byte reference - MOV operation
ref_64195 = (ref_60959 & 0xFF) # MOVZX operation
ref_65699 = (ref_64195 & 0xFF) # MOVZX operation
ref_65701 = (ref_65699 & 0xFF) # Byte reference - MOV operation
ref_67215 = ref_6849 # MOVZX operation
ref_67419 = (ref_67215 & 0xFF) # MOVZX operation
ref_68935 = ref_6855 # MOVZX operation
ref_70439 = (ref_68935 & 0xFF) # MOVZX operation
ref_70441 = (ref_70439 & 0xFF) # Byte reference - MOV operation
ref_70655 = (ref_67419 & 0xFF) # MOVZX operation
ref_72159 = (ref_70655 & 0xFF) # MOVZX operation
ref_72161 = (ref_72159 & 0xFF) # Byte reference - MOV operation
ref_73675 = ((((ref_10067) << 8 | ref_10068) << 8 | ref_10069) << 8 | ref_10070) # MOV operation
ref_73883 = (ref_73675 & 0xFFFFFFFF) # MOV operation
ref_75403 = ((((ref_10063) << 8 | ref_10064) << 8 | ref_10065) << 8 | ref_10066) # MOV operation
ref_76911 = (ref_75403 & 0xFFFFFFFF) # MOV operation
ref_76913 = (((ref_76911 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_76914 = (((ref_76911 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_76915 = (((ref_76911 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_76916 = ((ref_76911 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_77131 = (ref_73883 & 0xFFFFFFFF) # MOV operation
ref_78639 = (ref_77131 & 0xFFFFFFFF) # MOV operation
ref_78641 = (((ref_78639 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_78642 = (((ref_78639 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_78643 = (((ref_78639 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_78644 = ((ref_78639 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_81968 = ((((((((ref_6848) << 8 | ref_70441) << 8 | ref_63981) << 8 | ref_65701) << 8 | ref_6852) << 8 | ref_6853) << 8 | ref_6854) << 8 | ref_72161) # MOV operation
ref_82044 = ref_81968 # MOV operation
ref_82058 = (0x3F & ref_82044) # AND operation
ref_82283 = ref_82058 # MOV operation
ref_82291 = ((ref_82283 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_82298 = ref_82291 # MOV operation
ref_83304 = ((((((((ref_78641) << 8 | ref_78642) << 8 | ref_78643) << 8 | ref_78644) << 8 | ref_76913) << 8 | ref_76914) << 8 | ref_76915) << 8 | ref_76916) # MOV operation
ref_83380 = ref_83304 # MOV operation
ref_83392 = ref_82298 # MOV operation
ref_83394 = (ref_83392 | ref_83380) # OR operation
ref_83503 = ref_83394 # MOV operation
ref_85887 = ref_52747 # MOV operation
ref_87133 = ref_83503 # MOV operation
ref_87209 = ref_87133 # MOV operation
ref_87223 = (ref_87209 >> (0x3 & 0x3F)) # SHR operation
ref_87324 = ref_87223 # MOV operation
ref_87338 = (0xF & ref_87324) # AND operation
ref_87563 = ref_87338 # MOV operation
ref_87569 = (0x1 | ref_87563) # OR operation
ref_87682 = ref_87569 # MOV operation
ref_87684 = ((0x40 - ref_87682) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_87692 = ref_87684 # MOV operation
ref_87796 = ref_85887 # MOV operation
ref_87800 = ref_87692 # MOV operation
ref_87802 = (ref_87800 & 0xFFFFFFFF) # MOV operation
ref_87804 = ((ref_87796 << ((ref_87802 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_87811 = ref_87804 # MOV operation
ref_88845 = ref_83503 # MOV operation
ref_89045 = ref_88845 # MOV operation
ref_89053 = (ref_89045 >> (0x3 & 0x3F)) # SHR operation
ref_89060 = ref_89053 # MOV operation
ref_89280 = ref_89060 # MOV operation
ref_89286 = (0xF & ref_89280) # AND operation
ref_89387 = ref_89286 # MOV operation
ref_89401 = (0x1 | ref_89387) # OR operation
ref_90324 = ref_52747 # MOV operation
ref_90400 = ref_90324 # MOV operation
ref_90412 = ref_89401 # MOV operation
ref_90414 = (ref_90400 >> ((ref_90412 & 0xFF) & 0x3F)) # SHR operation
ref_90515 = ref_90414 # MOV operation
ref_90527 = ref_87811 # MOV operation
ref_90529 = (ref_90527 | ref_90515) # OR operation
ref_90754 = ref_90529 # MOV operation
ref_90760 = (0xF & ref_90754) # AND operation
ref_90985 = ref_90760 # MOV operation
ref_90993 = ((ref_90985 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_91000 = ref_90993 # MOV operation
ref_91918 = ((((((((ref_57509) << 8 | ref_57510) << 8 | ref_57511) << 8 | ref_57512) << 8 | ref_59237) << 8 | ref_59238) << 8 | ref_59239) << 8 | ref_59240) # MOV operation
ref_91994 = ref_91918 # MOV operation
ref_92006 = ref_91000 # MOV operation
ref_92008 = (ref_92006 | ref_91994) # OR operation
ref_92939 = ref_92008 # MOV operation
ref_94603 = ref_92939 # MOV operation
ref_95501 = ref_52747 # MOV operation
ref_95585 = ref_94603 # MOV operation
ref_95589 = ref_95501 # MOV operation
ref_95591 = (ref_95589 | ref_95585) # OR operation
ref_96514 = ((((((((ref_6848) << 8 | ref_70441) << 8 | ref_63981) << 8 | ref_65701) << 8 | ref_6852) << 8 | ref_6853) << 8 | ref_6854) << 8 | ref_72161) # MOV operation
ref_97528 = ref_83503 # MOV operation
ref_97728 = ref_97528 # MOV operation
ref_97736 = (ref_97728 >> (0x3 & 0x3F)) # SHR operation
ref_97743 = ref_97736 # MOV operation
ref_97963 = ref_97743 # MOV operation
ref_97969 = (0x7 & ref_97963) # AND operation
ref_98070 = ref_97969 # MOV operation
ref_98084 = (0x1 | ref_98070) # OR operation
ref_98193 = ref_96514 # MOV operation
ref_98197 = ref_98084 # MOV operation
ref_98199 = (ref_98197 & 0xFFFFFFFF) # MOV operation
ref_98201 = ((ref_98193 << ((ref_98199 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_98208 = ref_98201 # MOV operation
ref_98304 = ref_98208 # MOV operation
ref_98316 = ref_95591 # MOV operation
ref_98318 = (ref_98316 | ref_98304) # OR operation
ref_98427 = ref_98318 # MOV operation
ref_98638 = ref_98427 # MOV operation
ref_98640 = ref_98638 # MOV operation

print ref_98640 & 0xffffffffffffffff
