#!/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_7980 = ref_239 # MOV operation
ref_7984 = ((0xDEADBEEFDEADBEEF + ref_7980) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8091 = ref_7984 # MOV operation
ref_8093 = (0xE6ADBEEFDEADBEEF ^ ref_8091) # XOR operation
ref_8114 = ref_7984 # MOV operation
ref_8118 = ref_8114 # MOV operation
ref_8162 = ref_8118 # MOV operation
ref_8166 = rol(0xF, ref_8162) # ROL operation
ref_8170 = ref_8166 # MOV operation
ref_8177 = ref_8170 # MOV operation
ref_8193 = ref_8093 # MOV operation
ref_8197 = ref_8177 # MOV operation
ref_8199 = ((ref_8193 + ref_8197) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8225 = ref_8199 # MOV operation
ref_8227 = (0x1234 ^ ref_8225) # XOR operation
ref_8248 = ref_8199 # MOV operation
ref_8252 = ref_8248 # MOV operation
ref_8296 = ref_8252 # MOV operation
ref_8300 = rol(0x34, ref_8296) # ROL operation
ref_8304 = ref_8300 # MOV operation
ref_8311 = ref_8304 # MOV operation
ref_8327 = ref_8227 # MOV operation
ref_8331 = ref_8311 # MOV operation
ref_8333 = ((ref_8327 + ref_8331) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8359 = ref_8333 # MOV operation
ref_8361 = (0x1234 ^ ref_8359) # XOR operation
ref_8382 = ref_8333 # MOV operation
ref_8386 = ref_8382 # MOV operation
ref_8430 = ref_8386 # MOV operation
ref_8434 = rol(0x1A, ref_8430) # ROL operation
ref_8438 = ref_8434 # MOV operation
ref_8445 = ref_8438 # MOV operation
ref_8461 = ref_8361 # MOV operation
ref_8465 = ref_8445 # MOV operation
ref_8467 = ((ref_8461 + ref_8465) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8489 = ref_8177 # MOV operation
ref_8493 = ref_8467 # MOV operation
ref_8495 = (ref_8489 ^ ref_8493) # XOR operation
ref_8516 = ref_8467 # MOV operation
ref_8520 = ref_8516 # MOV operation
ref_8564 = ref_8520 # MOV operation
ref_8568 = rol(0x33, ref_8564) # ROL operation
ref_8572 = ref_8568 # MOV operation
ref_8579 = ref_8572 # MOV operation
ref_8595 = ref_8495 # MOV operation
ref_8599 = ref_8579 # MOV operation
ref_8601 = ((ref_8595 + ref_8599) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8623 = ref_8311 # MOV operation
ref_8627 = ref_8601 # MOV operation
ref_8629 = (ref_8623 ^ ref_8627) # XOR operation
ref_8650 = ref_8601 # MOV operation
ref_8654 = ref_8650 # MOV operation
ref_8698 = ref_8654 # MOV operation
ref_8702 = rol(0x1C, ref_8698) # ROL operation
ref_8706 = ref_8702 # MOV operation
ref_8713 = ref_8706 # MOV operation
ref_8729 = ref_8629 # MOV operation
ref_8733 = ref_8713 # MOV operation
ref_8735 = ((ref_8729 + ref_8733) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8757 = ref_8445 # MOV operation
ref_8761 = ref_8735 # MOV operation
ref_8763 = (ref_8757 ^ ref_8761) # XOR operation
ref_8784 = ref_8735 # MOV operation
ref_8788 = ref_8784 # MOV operation
ref_8832 = ref_8788 # MOV operation
ref_8836 = rol(0x9, ref_8832) # ROL operation
ref_8840 = ref_8836 # MOV operation
ref_8847 = ref_8840 # MOV operation
ref_8863 = ref_8763 # MOV operation
ref_8867 = ref_8847 # MOV operation
ref_8869 = ((ref_8863 + ref_8867) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8891 = ref_8579 # MOV operation
ref_8895 = ref_8869 # MOV operation
ref_8897 = (ref_8891 ^ ref_8895) # XOR operation
ref_8918 = ref_8869 # MOV operation
ref_8922 = ref_8918 # MOV operation
ref_8966 = ref_8922 # MOV operation
ref_8970 = rol(0x2F, ref_8966) # ROL operation
ref_8974 = ref_8970 # MOV operation
ref_8981 = ref_8974 # MOV operation
ref_8997 = ref_8897 # MOV operation
ref_9001 = ref_8981 # MOV operation
ref_9003 = ((ref_8997 + ref_9001) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9025 = ref_8713 # MOV operation
ref_9029 = ref_9003 # MOV operation
ref_9031 = (ref_9025 ^ ref_9029) # XOR operation
ref_9052 = ref_9003 # MOV operation
ref_9056 = ref_9052 # MOV operation
ref_9100 = ref_9056 # MOV operation
ref_9104 = rol(0x36, ref_9100) # ROL operation
ref_9108 = ref_9104 # MOV operation
ref_9115 = ref_9108 # MOV operation
ref_9131 = ref_9031 # MOV operation
ref_9135 = ref_9115 # MOV operation
ref_9137 = ((ref_9131 + ref_9135) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9159 = ref_8847 # MOV operation
ref_9163 = ref_9137 # MOV operation
ref_9165 = (ref_9159 ^ ref_9163) # XOR operation
ref_9186 = ref_9137 # MOV operation
ref_9190 = ref_9186 # MOV operation
ref_9234 = ref_9190 # MOV operation
ref_9238 = rol(0x20, ref_9234) # ROL operation
ref_9242 = ref_9238 # MOV operation
ref_9249 = ref_9242 # MOV operation
ref_9265 = ref_9165 # MOV operation
ref_9269 = ref_9249 # MOV operation
ref_9271 = ((ref_9265 + ref_9269) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9293 = ref_8981 # MOV operation
ref_9297 = ref_9271 # MOV operation
ref_9299 = (ref_9293 ^ ref_9297) # XOR operation
ref_9320 = ref_9271 # MOV operation
ref_9324 = ref_9320 # MOV operation
ref_9368 = ref_9324 # MOV operation
ref_9372 = rol(0x19, ref_9368) # ROL operation
ref_9376 = ref_9372 # MOV operation
ref_9383 = ref_9376 # MOV operation
ref_9399 = ref_9299 # MOV operation
ref_9403 = ref_9383 # MOV operation
ref_9405 = ((ref_9399 + ref_9403) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9454 = ref_9405 # MOV operation
ref_9458 = ref_9454 # MOV operation
ref_9502 = ref_9458 # MOV operation
ref_9506 = rol(0x3F, ref_9502) # ROL operation
ref_9510 = ref_9506 # MOV operation
ref_9517 = ref_9510 # MOV operation
ref_9566 = ref_9517 # MOV operation
ref_9628 = ref_9566 # MOV operation
ref_10862 = ref_9628 # MOV operation
ref_11331 = ref_10862 # MOV operation
ref_12764 = ref_11331 # MOV operation
ref_13331 = ref_12764 # MOV operation
ref_13369 = ref_13331 # MOV operation
ref_13381 = ref_13369 # MOV operation
ref_13383 = ref_13381 # MOV operation

print ref_13383 & 0xffffffffffffffff
