#!/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_8239 = ref_239 # MOV operation
ref_8243 = ((0xDEADBEEFDEADBEEF + ref_8239) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8350 = ref_8243 # MOV operation
ref_8352 = (0xE6ADBEEFDEADBEEF ^ ref_8350) # XOR operation
ref_8373 = ref_8243 # MOV operation
ref_8377 = ref_8373 # MOV operation
ref_8421 = ref_8377 # MOV operation
ref_8425 = rol(0xF, ref_8421) # ROL operation
ref_8429 = ref_8425 # MOV operation
ref_8436 = ref_8429 # MOV operation
ref_8452 = ref_8352 # MOV operation
ref_8456 = ref_8436 # MOV operation
ref_8458 = ((ref_8452 + ref_8456) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8484 = ref_8458 # MOV operation
ref_8486 = (0x1234 ^ ref_8484) # XOR operation
ref_8507 = ref_8458 # MOV operation
ref_8511 = ref_8507 # MOV operation
ref_8555 = ref_8511 # MOV operation
ref_8559 = rol(0x34, ref_8555) # ROL operation
ref_8563 = ref_8559 # MOV operation
ref_8570 = ref_8563 # MOV operation
ref_8586 = ref_8486 # MOV operation
ref_8590 = ref_8570 # MOV operation
ref_8592 = ((ref_8586 + ref_8590) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8618 = ref_8592 # MOV operation
ref_8620 = (0x1234 ^ ref_8618) # XOR operation
ref_8641 = ref_8592 # MOV operation
ref_8645 = ref_8641 # MOV operation
ref_8689 = ref_8645 # MOV operation
ref_8693 = rol(0x1A, ref_8689) # ROL operation
ref_8697 = ref_8693 # MOV operation
ref_8704 = ref_8697 # MOV operation
ref_8720 = ref_8620 # MOV operation
ref_8724 = ref_8704 # MOV operation
ref_8726 = ((ref_8720 + ref_8724) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8748 = ref_8436 # MOV operation
ref_8752 = ref_8726 # MOV operation
ref_8754 = (ref_8748 ^ ref_8752) # XOR operation
ref_8775 = ref_8726 # MOV operation
ref_8779 = ref_8775 # MOV operation
ref_8823 = ref_8779 # MOV operation
ref_8827 = rol(0x33, ref_8823) # ROL operation
ref_8831 = ref_8827 # MOV operation
ref_8838 = ref_8831 # MOV operation
ref_8854 = ref_8754 # MOV operation
ref_8858 = ref_8838 # MOV operation
ref_8860 = ((ref_8854 + ref_8858) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8882 = ref_8570 # MOV operation
ref_8886 = ref_8860 # MOV operation
ref_8888 = (ref_8882 ^ ref_8886) # XOR operation
ref_8909 = ref_8860 # MOV operation
ref_8913 = ref_8909 # MOV operation
ref_8957 = ref_8913 # MOV operation
ref_8961 = rol(0x1C, ref_8957) # ROL operation
ref_8965 = ref_8961 # MOV operation
ref_8972 = ref_8965 # MOV operation
ref_8988 = ref_8888 # MOV operation
ref_8992 = ref_8972 # MOV operation
ref_8994 = ((ref_8988 + ref_8992) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9016 = ref_8704 # MOV operation
ref_9020 = ref_8994 # MOV operation
ref_9022 = (ref_9016 ^ ref_9020) # XOR operation
ref_9043 = ref_8994 # MOV operation
ref_9047 = ref_9043 # MOV operation
ref_9091 = ref_9047 # MOV operation
ref_9095 = rol(0x9, ref_9091) # ROL operation
ref_9099 = ref_9095 # MOV operation
ref_9106 = ref_9099 # MOV operation
ref_9122 = ref_9022 # MOV operation
ref_9126 = ref_9106 # MOV operation
ref_9128 = ((ref_9122 + ref_9126) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9150 = ref_8838 # MOV operation
ref_9154 = ref_9128 # MOV operation
ref_9156 = (ref_9150 ^ ref_9154) # XOR operation
ref_9177 = ref_9128 # MOV operation
ref_9181 = ref_9177 # MOV operation
ref_9225 = ref_9181 # MOV operation
ref_9229 = rol(0x2F, ref_9225) # ROL operation
ref_9233 = ref_9229 # MOV operation
ref_9240 = ref_9233 # MOV operation
ref_9256 = ref_9156 # MOV operation
ref_9260 = ref_9240 # MOV operation
ref_9262 = ((ref_9256 + ref_9260) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9284 = ref_8972 # MOV operation
ref_9288 = ref_9262 # MOV operation
ref_9290 = (ref_9284 ^ ref_9288) # XOR operation
ref_9311 = ref_9262 # MOV operation
ref_9315 = ref_9311 # MOV operation
ref_9359 = ref_9315 # MOV operation
ref_9363 = rol(0x36, ref_9359) # ROL operation
ref_9367 = ref_9363 # MOV operation
ref_9374 = ref_9367 # MOV operation
ref_9390 = ref_9290 # MOV operation
ref_9394 = ref_9374 # MOV operation
ref_9396 = ((ref_9390 + ref_9394) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9418 = ref_9106 # MOV operation
ref_9422 = ref_9396 # MOV operation
ref_9424 = (ref_9418 ^ ref_9422) # XOR operation
ref_9445 = ref_9396 # MOV operation
ref_9449 = ref_9445 # MOV operation
ref_9493 = ref_9449 # MOV operation
ref_9497 = rol(0x20, ref_9493) # ROL operation
ref_9501 = ref_9497 # MOV operation
ref_9508 = ref_9501 # MOV operation
ref_9524 = ref_9424 # MOV operation
ref_9528 = ref_9508 # MOV operation
ref_9530 = ((ref_9524 + ref_9528) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9552 = ref_9240 # MOV operation
ref_9556 = ref_9530 # MOV operation
ref_9558 = (ref_9552 ^ ref_9556) # XOR operation
ref_9579 = ref_9530 # MOV operation
ref_9583 = ref_9579 # MOV operation
ref_9627 = ref_9583 # MOV operation
ref_9631 = rol(0x19, ref_9627) # ROL operation
ref_9635 = ref_9631 # MOV operation
ref_9642 = ref_9635 # MOV operation
ref_9658 = ref_9558 # MOV operation
ref_9662 = ref_9642 # MOV operation
ref_9664 = ((ref_9658 + ref_9662) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9713 = ref_9664 # MOV operation
ref_9717 = ref_9713 # MOV operation
ref_9761 = ref_9717 # MOV operation
ref_9765 = rol(0x3F, ref_9761) # ROL operation
ref_9769 = ref_9765 # MOV operation
ref_9776 = ref_9769 # MOV operation
ref_9825 = ref_9776 # MOV operation
ref_9887 = ref_9825 # MOV operation
ref_11992 = ref_9887 # MOV operation
ref_12618 = ref_11992 # MOV operation
ref_14608 = ref_12618 # MOV operation
ref_15394 = ref_14608 # MOV operation
ref_15435 = ref_15394 # MOV operation
ref_15447 = ref_15435 # MOV operation
ref_15449 = ref_15447 # MOV operation

print ref_15449 & 0xffffffffffffffff
