#!/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_5962 = ref_239 # MOV operation
ref_5966 = ((0xDEADBEEFDEADBEEF + ref_5962) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6073 = ref_5966 # MOV operation
ref_6075 = (0xE6ADBEEFDEADBEEF ^ ref_6073) # XOR operation
ref_6096 = ref_5966 # MOV operation
ref_6100 = ref_6096 # MOV operation
ref_6144 = ref_6100 # MOV operation
ref_6148 = rol(0xF, ref_6144) # ROL operation
ref_6152 = ref_6148 # MOV operation
ref_6159 = ref_6152 # MOV operation
ref_6175 = ref_6075 # MOV operation
ref_6179 = ref_6159 # MOV operation
ref_6181 = ((ref_6175 + ref_6179) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6207 = ref_6181 # MOV operation
ref_6209 = (0x1234 ^ ref_6207) # XOR operation
ref_6230 = ref_6181 # MOV operation
ref_6234 = ref_6230 # MOV operation
ref_6278 = ref_6234 # MOV operation
ref_6282 = rol(0x34, ref_6278) # ROL operation
ref_6286 = ref_6282 # MOV operation
ref_6293 = ref_6286 # MOV operation
ref_6309 = ref_6209 # MOV operation
ref_6313 = ref_6293 # MOV operation
ref_6315 = ((ref_6309 + ref_6313) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6341 = ref_6315 # MOV operation
ref_6343 = (0x1234 ^ ref_6341) # XOR operation
ref_6364 = ref_6315 # MOV operation
ref_6368 = ref_6364 # MOV operation
ref_6412 = ref_6368 # MOV operation
ref_6416 = rol(0x1A, ref_6412) # ROL operation
ref_6420 = ref_6416 # MOV operation
ref_6427 = ref_6420 # MOV operation
ref_6443 = ref_6343 # MOV operation
ref_6447 = ref_6427 # MOV operation
ref_6449 = ((ref_6443 + ref_6447) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6471 = ref_6159 # MOV operation
ref_6475 = ref_6449 # MOV operation
ref_6477 = (ref_6471 ^ ref_6475) # XOR operation
ref_6498 = ref_6449 # MOV operation
ref_6502 = ref_6498 # MOV operation
ref_6546 = ref_6502 # MOV operation
ref_6550 = rol(0x33, ref_6546) # ROL operation
ref_6554 = ref_6550 # MOV operation
ref_6561 = ref_6554 # MOV operation
ref_6577 = ref_6477 # MOV operation
ref_6581 = ref_6561 # MOV operation
ref_6583 = ((ref_6577 + ref_6581) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6605 = ref_6293 # MOV operation
ref_6609 = ref_6583 # MOV operation
ref_6611 = (ref_6605 ^ ref_6609) # XOR operation
ref_6632 = ref_6583 # MOV operation
ref_6636 = ref_6632 # MOV operation
ref_6680 = ref_6636 # MOV operation
ref_6684 = rol(0x1C, ref_6680) # ROL operation
ref_6688 = ref_6684 # MOV operation
ref_6695 = ref_6688 # MOV operation
ref_6711 = ref_6611 # MOV operation
ref_6715 = ref_6695 # MOV operation
ref_6717 = ((ref_6711 + ref_6715) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6739 = ref_6427 # MOV operation
ref_6743 = ref_6717 # MOV operation
ref_6745 = (ref_6739 ^ ref_6743) # XOR operation
ref_6766 = ref_6717 # MOV operation
ref_6770 = ref_6766 # MOV operation
ref_6814 = ref_6770 # MOV operation
ref_6818 = rol(0x9, ref_6814) # ROL operation
ref_6822 = ref_6818 # MOV operation
ref_6829 = ref_6822 # MOV operation
ref_6845 = ref_6745 # MOV operation
ref_6849 = ref_6829 # MOV operation
ref_6851 = ((ref_6845 + ref_6849) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6873 = ref_6561 # MOV operation
ref_6877 = ref_6851 # MOV operation
ref_6879 = (ref_6873 ^ ref_6877) # XOR operation
ref_6900 = ref_6851 # MOV operation
ref_6904 = ref_6900 # MOV operation
ref_6948 = ref_6904 # MOV operation
ref_6952 = rol(0x2F, ref_6948) # ROL operation
ref_6956 = ref_6952 # MOV operation
ref_6963 = ref_6956 # MOV operation
ref_6979 = ref_6879 # MOV operation
ref_6983 = ref_6963 # MOV operation
ref_6985 = ((ref_6979 + ref_6983) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7007 = ref_6695 # MOV operation
ref_7011 = ref_6985 # MOV operation
ref_7013 = (ref_7007 ^ ref_7011) # XOR operation
ref_7034 = ref_6985 # MOV operation
ref_7038 = ref_7034 # MOV operation
ref_7082 = ref_7038 # MOV operation
ref_7086 = rol(0x36, ref_7082) # ROL operation
ref_7090 = ref_7086 # MOV operation
ref_7097 = ref_7090 # MOV operation
ref_7113 = ref_7013 # MOV operation
ref_7117 = ref_7097 # MOV operation
ref_7119 = ((ref_7113 + ref_7117) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7141 = ref_6829 # MOV operation
ref_7145 = ref_7119 # MOV operation
ref_7147 = (ref_7141 ^ ref_7145) # XOR operation
ref_7168 = ref_7119 # MOV operation
ref_7172 = ref_7168 # MOV operation
ref_7216 = ref_7172 # MOV operation
ref_7220 = rol(0x20, ref_7216) # ROL operation
ref_7224 = ref_7220 # MOV operation
ref_7231 = ref_7224 # MOV operation
ref_7247 = ref_7147 # MOV operation
ref_7251 = ref_7231 # MOV operation
ref_7253 = ((ref_7247 + ref_7251) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7275 = ref_6963 # MOV operation
ref_7279 = ref_7253 # MOV operation
ref_7281 = (ref_7275 ^ ref_7279) # XOR operation
ref_7302 = ref_7253 # MOV operation
ref_7306 = ref_7302 # MOV operation
ref_7350 = ref_7306 # MOV operation
ref_7354 = rol(0x19, ref_7350) # ROL operation
ref_7358 = ref_7354 # MOV operation
ref_7365 = ref_7358 # MOV operation
ref_7381 = ref_7281 # MOV operation
ref_7385 = ref_7365 # MOV operation
ref_7387 = ((ref_7381 + ref_7385) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7436 = ref_7387 # MOV operation
ref_7440 = ref_7436 # MOV operation
ref_7484 = ref_7440 # MOV operation
ref_7488 = rol(0x3F, ref_7484) # ROL operation
ref_7492 = ref_7488 # MOV operation
ref_7499 = ref_7492 # MOV operation
ref_7548 = ref_7499 # MOV operation
ref_7610 = ref_7548 # MOV operation
ref_8083 = ref_7610 # MOV operation
ref_8206 = ref_8083 # MOV operation
ref_8654 = ref_8206 # MOV operation
ref_8777 = ref_8654 # MOV operation
ref_8815 = ref_8777 # MOV operation
ref_8827 = ref_8815 # MOV operation
ref_8829 = ref_8827 # MOV operation

print ref_8829 & 0xffffffffffffffff
