#!/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_214073 = ref_280 # MOVZX operation
ref_218794 = (ref_214073 & 0xFF) # MOVZX operation
ref_218796 = (ref_218794 & 0xFF) # MOVZX operation
ref_223535 = (ref_218796 & 0xFFFFFFFF) # MOV operation
ref_223537 = (((ref_223535 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_228298 = (ref_223537 & 0xFFFFFFFF) # MOV operation
ref_242611 = (ref_228298 & 0xFFFFFFFF) # MOV operation
ref_252121 = (ref_228298 & 0xFFFFFFFF) # MOV operation
ref_261623 = (ref_252121 & 0xFFFFFFFF) # MOV operation
ref_261631 = (((ref_261623 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_261638 = (ref_261631 & 0xFFFFFFFF) # MOV operation
ref_266393 = (ref_242611 & 0xFFFFFFFF) # MOV operation
ref_266397 = (ref_261638 & 0xFFFFFFFF) # MOV operation
ref_266399 = (((ref_266397 & 0xFFFFFFFF) + (ref_266393 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_271160 = (ref_266399 & 0xFFFFFFFF) # MOV operation
ref_285473 = (ref_271160 & 0xFFFFFFFF) # MOV operation
ref_294975 = (ref_285473 & 0xFFFFFFFF) # MOV operation
ref_294983 = ((ref_294975 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_294990 = (ref_294983 & 0xFFFFFFFF) # MOV operation
ref_304520 = (ref_271160 & 0xFFFFFFFF) # MOV operation
ref_309247 = (ref_304520 & 0xFFFFFFFF) # MOV operation
ref_309259 = (ref_294990 & 0xFFFFFFFF) # MOV operation
ref_309261 = ((ref_309259 & 0xFFFFFFFF) ^ (ref_309247 & 0xFFFFFFFF)) # XOR operation
ref_314021 = (ref_309261 & 0xFFFFFFFF) # MOV operation
ref_409298 = (ref_314021 & 0xFFFFFFFF) # MOV operation
ref_452091 = ref_279 # MOVZX operation
ref_456812 = (ref_452091 & 0xFF) # MOVZX operation
ref_456814 = (ref_456812 & 0xFF) # MOVZX operation
ref_461549 = (ref_409298 & 0xFFFFFFFF) # MOV operation
ref_461553 = (ref_456814 & 0xFFFFFFFF) # MOV operation
ref_461555 = (((ref_461553 & 0xFFFFFFFF) + (ref_461549 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_466316 = (ref_461555 & 0xFFFFFFFF) # MOV operation
ref_480629 = (ref_466316 & 0xFFFFFFFF) # MOV operation
ref_490139 = (ref_466316 & 0xFFFFFFFF) # MOV operation
ref_499641 = (ref_490139 & 0xFFFFFFFF) # MOV operation
ref_499649 = (((ref_499641 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_499656 = (ref_499649 & 0xFFFFFFFF) # MOV operation
ref_504411 = (ref_480629 & 0xFFFFFFFF) # MOV operation
ref_504415 = (ref_499656 & 0xFFFFFFFF) # MOV operation
ref_504417 = (((ref_504415 & 0xFFFFFFFF) + (ref_504411 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_509178 = (ref_504417 & 0xFFFFFFFF) # MOV operation
ref_523491 = (ref_509178 & 0xFFFFFFFF) # MOV operation
ref_532993 = (ref_523491 & 0xFFFFFFFF) # MOV operation
ref_533001 = ((ref_532993 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_533008 = (ref_533001 & 0xFFFFFFFF) # MOV operation
ref_542538 = (ref_509178 & 0xFFFFFFFF) # MOV operation
ref_547265 = (ref_542538 & 0xFFFFFFFF) # MOV operation
ref_547277 = (ref_533008 & 0xFFFFFFFF) # MOV operation
ref_547279 = ((ref_547277 & 0xFFFFFFFF) ^ (ref_547265 & 0xFFFFFFFF)) # XOR operation
ref_552039 = (ref_547279 & 0xFFFFFFFF) # MOV operation
ref_647316 = (ref_552039 & 0xFFFFFFFF) # MOV operation
ref_690109 = ref_278 # MOVZX operation
ref_694830 = (ref_690109 & 0xFF) # MOVZX operation
ref_694832 = (ref_694830 & 0xFF) # MOVZX operation
ref_699567 = (ref_647316 & 0xFFFFFFFF) # MOV operation
ref_699571 = (ref_694832 & 0xFFFFFFFF) # MOV operation
ref_699573 = (((ref_699571 & 0xFFFFFFFF) + (ref_699567 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_704334 = (ref_699573 & 0xFFFFFFFF) # MOV operation
ref_718647 = (ref_704334 & 0xFFFFFFFF) # MOV operation
ref_728157 = (ref_704334 & 0xFFFFFFFF) # MOV operation
ref_737659 = (ref_728157 & 0xFFFFFFFF) # MOV operation
ref_737667 = (((ref_737659 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_737674 = (ref_737667 & 0xFFFFFFFF) # MOV operation
ref_742429 = (ref_718647 & 0xFFFFFFFF) # MOV operation
ref_742433 = (ref_737674 & 0xFFFFFFFF) # MOV operation
ref_742435 = (((ref_742433 & 0xFFFFFFFF) + (ref_742429 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_747196 = (ref_742435 & 0xFFFFFFFF) # MOV operation
ref_761509 = (ref_747196 & 0xFFFFFFFF) # MOV operation
ref_771011 = (ref_761509 & 0xFFFFFFFF) # MOV operation
ref_771019 = ((ref_771011 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_771026 = (ref_771019 & 0xFFFFFFFF) # MOV operation
ref_780556 = (ref_747196 & 0xFFFFFFFF) # MOV operation
ref_785283 = (ref_780556 & 0xFFFFFFFF) # MOV operation
ref_785295 = (ref_771026 & 0xFFFFFFFF) # MOV operation
ref_785297 = ((ref_785295 & 0xFFFFFFFF) ^ (ref_785283 & 0xFFFFFFFF)) # XOR operation
ref_790057 = (ref_785297 & 0xFFFFFFFF) # MOV operation
ref_885334 = (ref_790057 & 0xFFFFFFFF) # MOV operation
ref_928127 = ref_277 # MOVZX operation
ref_932848 = (ref_928127 & 0xFF) # MOVZX operation
ref_932850 = (ref_932848 & 0xFF) # MOVZX operation
ref_937585 = (ref_885334 & 0xFFFFFFFF) # MOV operation
ref_937589 = (ref_932850 & 0xFFFFFFFF) # MOV operation
ref_937591 = (((ref_937589 & 0xFFFFFFFF) + (ref_937585 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_942352 = (ref_937591 & 0xFFFFFFFF) # MOV operation
ref_956665 = (ref_942352 & 0xFFFFFFFF) # MOV operation
ref_966175 = (ref_942352 & 0xFFFFFFFF) # MOV operation
ref_975677 = (ref_966175 & 0xFFFFFFFF) # MOV operation
ref_975685 = (((ref_975677 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_975692 = (ref_975685 & 0xFFFFFFFF) # MOV operation
ref_980447 = (ref_956665 & 0xFFFFFFFF) # MOV operation
ref_980451 = (ref_975692 & 0xFFFFFFFF) # MOV operation
ref_980453 = (((ref_980451 & 0xFFFFFFFF) + (ref_980447 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_985214 = (ref_980453 & 0xFFFFFFFF) # MOV operation
ref_999527 = (ref_985214 & 0xFFFFFFFF) # MOV operation
ref_1009029 = (ref_999527 & 0xFFFFFFFF) # MOV operation
ref_1009037 = ((ref_1009029 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1009044 = (ref_1009037 & 0xFFFFFFFF) # MOV operation
ref_1018574 = (ref_985214 & 0xFFFFFFFF) # MOV operation
ref_1023301 = (ref_1018574 & 0xFFFFFFFF) # MOV operation
ref_1023313 = (ref_1009044 & 0xFFFFFFFF) # MOV operation
ref_1023315 = ((ref_1023313 & 0xFFFFFFFF) ^ (ref_1023301 & 0xFFFFFFFF)) # XOR operation
ref_1028075 = (ref_1023315 & 0xFFFFFFFF) # MOV operation
ref_1123352 = (ref_1028075 & 0xFFFFFFFF) # MOV operation
ref_1166145 = ref_276 # MOVZX operation
ref_1170866 = (ref_1166145 & 0xFF) # MOVZX operation
ref_1170868 = (ref_1170866 & 0xFF) # MOVZX operation
ref_1175603 = (ref_1123352 & 0xFFFFFFFF) # MOV operation
ref_1175607 = (ref_1170868 & 0xFFFFFFFF) # MOV operation
ref_1175609 = (((ref_1175607 & 0xFFFFFFFF) + (ref_1175603 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1180370 = (ref_1175609 & 0xFFFFFFFF) # MOV operation
ref_1194683 = (ref_1180370 & 0xFFFFFFFF) # MOV operation
ref_1204193 = (ref_1180370 & 0xFFFFFFFF) # MOV operation
ref_1213695 = (ref_1204193 & 0xFFFFFFFF) # MOV operation
ref_1213703 = (((ref_1213695 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1213710 = (ref_1213703 & 0xFFFFFFFF) # MOV operation
ref_1218465 = (ref_1194683 & 0xFFFFFFFF) # MOV operation
ref_1218469 = (ref_1213710 & 0xFFFFFFFF) # MOV operation
ref_1218471 = (((ref_1218469 & 0xFFFFFFFF) + (ref_1218465 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1223232 = (ref_1218471 & 0xFFFFFFFF) # MOV operation
ref_1237545 = (ref_1223232 & 0xFFFFFFFF) # MOV operation
ref_1247047 = (ref_1237545 & 0xFFFFFFFF) # MOV operation
ref_1247055 = ((ref_1247047 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1247062 = (ref_1247055 & 0xFFFFFFFF) # MOV operation
ref_1256592 = (ref_1223232 & 0xFFFFFFFF) # MOV operation
ref_1261319 = (ref_1256592 & 0xFFFFFFFF) # MOV operation
ref_1261331 = (ref_1247062 & 0xFFFFFFFF) # MOV operation
ref_1261333 = ((ref_1261331 & 0xFFFFFFFF) ^ (ref_1261319 & 0xFFFFFFFF)) # XOR operation
ref_1266093 = (ref_1261333 & 0xFFFFFFFF) # MOV operation
ref_1361370 = (ref_1266093 & 0xFFFFFFFF) # MOV operation
ref_1404163 = ref_275 # MOVZX operation
ref_1408884 = (ref_1404163 & 0xFF) # MOVZX operation
ref_1408886 = (ref_1408884 & 0xFF) # MOVZX operation
ref_1413621 = (ref_1361370 & 0xFFFFFFFF) # MOV operation
ref_1413625 = (ref_1408886 & 0xFFFFFFFF) # MOV operation
ref_1413627 = (((ref_1413625 & 0xFFFFFFFF) + (ref_1413621 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1418388 = (ref_1413627 & 0xFFFFFFFF) # MOV operation
ref_1432701 = (ref_1418388 & 0xFFFFFFFF) # MOV operation
ref_1442211 = (ref_1418388 & 0xFFFFFFFF) # MOV operation
ref_1451713 = (ref_1442211 & 0xFFFFFFFF) # MOV operation
ref_1451721 = (((ref_1451713 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1451728 = (ref_1451721 & 0xFFFFFFFF) # MOV operation
ref_1456483 = (ref_1432701 & 0xFFFFFFFF) # MOV operation
ref_1456487 = (ref_1451728 & 0xFFFFFFFF) # MOV operation
ref_1456489 = (((ref_1456487 & 0xFFFFFFFF) + (ref_1456483 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1461250 = (ref_1456489 & 0xFFFFFFFF) # MOV operation
ref_1475563 = (ref_1461250 & 0xFFFFFFFF) # MOV operation
ref_1485065 = (ref_1475563 & 0xFFFFFFFF) # MOV operation
ref_1485073 = ((ref_1485065 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1485080 = (ref_1485073 & 0xFFFFFFFF) # MOV operation
ref_1494610 = (ref_1461250 & 0xFFFFFFFF) # MOV operation
ref_1499337 = (ref_1494610 & 0xFFFFFFFF) # MOV operation
ref_1499349 = (ref_1485080 & 0xFFFFFFFF) # MOV operation
ref_1499351 = ((ref_1499349 & 0xFFFFFFFF) ^ (ref_1499337 & 0xFFFFFFFF)) # XOR operation
ref_1504111 = (ref_1499351 & 0xFFFFFFFF) # MOV operation
ref_1599388 = (ref_1504111 & 0xFFFFFFFF) # MOV operation
ref_1642181 = ref_274 # MOVZX operation
ref_1646902 = (ref_1642181 & 0xFF) # MOVZX operation
ref_1646904 = (ref_1646902 & 0xFF) # MOVZX operation
ref_1651639 = (ref_1599388 & 0xFFFFFFFF) # MOV operation
ref_1651643 = (ref_1646904 & 0xFFFFFFFF) # MOV operation
ref_1651645 = (((ref_1651643 & 0xFFFFFFFF) + (ref_1651639 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1656406 = (ref_1651645 & 0xFFFFFFFF) # MOV operation
ref_1670719 = (ref_1656406 & 0xFFFFFFFF) # MOV operation
ref_1680229 = (ref_1656406 & 0xFFFFFFFF) # MOV operation
ref_1689731 = (ref_1680229 & 0xFFFFFFFF) # MOV operation
ref_1689739 = (((ref_1689731 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1689746 = (ref_1689739 & 0xFFFFFFFF) # MOV operation
ref_1694501 = (ref_1670719 & 0xFFFFFFFF) # MOV operation
ref_1694505 = (ref_1689746 & 0xFFFFFFFF) # MOV operation
ref_1694507 = (((ref_1694505 & 0xFFFFFFFF) + (ref_1694501 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1699268 = (ref_1694507 & 0xFFFFFFFF) # MOV operation
ref_1713581 = (ref_1699268 & 0xFFFFFFFF) # MOV operation
ref_1723083 = (ref_1713581 & 0xFFFFFFFF) # MOV operation
ref_1723091 = ((ref_1723083 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1723098 = (ref_1723091 & 0xFFFFFFFF) # MOV operation
ref_1732628 = (ref_1699268 & 0xFFFFFFFF) # MOV operation
ref_1737355 = (ref_1732628 & 0xFFFFFFFF) # MOV operation
ref_1737367 = (ref_1723098 & 0xFFFFFFFF) # MOV operation
ref_1737369 = ((ref_1737367 & 0xFFFFFFFF) ^ (ref_1737355 & 0xFFFFFFFF)) # XOR operation
ref_1742129 = (ref_1737369 & 0xFFFFFFFF) # MOV operation
ref_1837406 = (ref_1742129 & 0xFFFFFFFF) # MOV operation
ref_1880199 = ref_273 # MOVZX operation
ref_1884920 = (ref_1880199 & 0xFF) # MOVZX operation
ref_1884922 = (ref_1884920 & 0xFF) # MOVZX operation
ref_1889657 = (ref_1837406 & 0xFFFFFFFF) # MOV operation
ref_1889661 = (ref_1884922 & 0xFFFFFFFF) # MOV operation
ref_1889663 = (((ref_1889661 & 0xFFFFFFFF) + (ref_1889657 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1894424 = (ref_1889663 & 0xFFFFFFFF) # MOV operation
ref_1908737 = (ref_1894424 & 0xFFFFFFFF) # MOV operation
ref_1918247 = (ref_1894424 & 0xFFFFFFFF) # MOV operation
ref_1927749 = (ref_1918247 & 0xFFFFFFFF) # MOV operation
ref_1927757 = (((ref_1927749 & 0xFFFFFFFF) << (0xA & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_1927764 = (ref_1927757 & 0xFFFFFFFF) # MOV operation
ref_1932519 = (ref_1908737 & 0xFFFFFFFF) # MOV operation
ref_1932523 = (ref_1927764 & 0xFFFFFFFF) # MOV operation
ref_1932525 = (((ref_1932523 & 0xFFFFFFFF) + (ref_1932519 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_1937286 = (ref_1932525 & 0xFFFFFFFF) # MOV operation
ref_1951599 = (ref_1937286 & 0xFFFFFFFF) # MOV operation
ref_1961101 = (ref_1951599 & 0xFFFFFFFF) # MOV operation
ref_1961109 = ((ref_1961101 & 0xFFFFFFFF) >> (0x6 & 0x1F)) # SHR operation
ref_1961116 = (ref_1961109 & 0xFFFFFFFF) # MOV operation
ref_1970646 = (ref_1937286 & 0xFFFFFFFF) # MOV operation
ref_1975373 = (ref_1970646 & 0xFFFFFFFF) # MOV operation
ref_1975385 = (ref_1961116 & 0xFFFFFFFF) # MOV operation
ref_1975387 = ((ref_1975385 & 0xFFFFFFFF) ^ (ref_1975373 & 0xFFFFFFFF)) # XOR operation
ref_1980147 = (ref_1975387 & 0xFFFFFFFF) # MOV operation
ref_2037241 = (ref_1980147 & 0xFFFFFFFF) # MOV operation
ref_2046751 = (ref_1980147 & 0xFFFFFFFF) # MOV operation
ref_2056253 = (ref_2046751 & 0xFFFFFFFF) # MOV operation
ref_2056261 = (((ref_2056253 & 0xFFFFFFFF) << (0x3 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_2056268 = (ref_2056261 & 0xFFFFFFFF) # MOV operation
ref_2061023 = (ref_2037241 & 0xFFFFFFFF) # MOV operation
ref_2061027 = (ref_2056268 & 0xFFFFFFFF) # MOV operation
ref_2061029 = (((ref_2061027 & 0xFFFFFFFF) + (ref_2061023 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_2065790 = (ref_2061029 & 0xFFFFFFFF) # MOV operation
ref_2080103 = (ref_2065790 & 0xFFFFFFFF) # MOV operation
ref_2089605 = (ref_2080103 & 0xFFFFFFFF) # MOV operation
ref_2089613 = ((ref_2089605 & 0xFFFFFFFF) >> (0xB & 0x1F)) # SHR operation
ref_2089620 = (ref_2089613 & 0xFFFFFFFF) # MOV operation
ref_2099150 = (ref_2065790 & 0xFFFFFFFF) # MOV operation
ref_2103877 = (ref_2099150 & 0xFFFFFFFF) # MOV operation
ref_2103889 = (ref_2089620 & 0xFFFFFFFF) # MOV operation
ref_2103891 = ((ref_2103889 & 0xFFFFFFFF) ^ (ref_2103877 & 0xFFFFFFFF)) # XOR operation
ref_2108651 = (ref_2103891 & 0xFFFFFFFF) # MOV operation
ref_2122964 = (ref_2108651 & 0xFFFFFFFF) # MOV operation
ref_2132474 = (ref_2108651 & 0xFFFFFFFF) # MOV operation
ref_2141976 = (ref_2132474 & 0xFFFFFFFF) # MOV operation
ref_2141984 = (((ref_2141976 & 0xFFFFFFFF) << (0xF & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_2141991 = (ref_2141984 & 0xFFFFFFFF) # MOV operation
ref_2146746 = (ref_2122964 & 0xFFFFFFFF) # MOV operation
ref_2146750 = (ref_2141991 & 0xFFFFFFFF) # MOV operation
ref_2146752 = (((ref_2146750 & 0xFFFFFFFF) + (ref_2146746 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_2151513 = (ref_2146752 & 0xFFFFFFFF) # MOV operation
ref_2165782 = (ref_2151513 & 0xFFFFFFFF) # MOV operation
ref_2170505 = (ref_2165782 & 0xFFFFFFFF) # MOV operation
ref_2170529 = (ref_2170505 & 0xFFFFFFFF) # MOV operation
ref_2170537 = (ref_2170529 & 0xFFFFFFFF) # MOV operation
ref_2170539 = (ref_2170537 & 0xFFFFFFFF) # MOV operation

print ref_2170539 & 0xffffffffffffffff
