#!/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_5537 = ref_239 # MOV operation
ref_5541 = ((0xDEADBEEFDEADBEEF + ref_5537) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_5648 = ref_5541 # MOV operation
ref_5650 = (0xE6ADBEEFDEADBEEF ^ ref_5648) # XOR operation
ref_5671 = ref_5541 # MOV operation
ref_5675 = ref_5671 # MOV operation
ref_5719 = ref_5675 # MOV operation
ref_5723 = rol(0xF, ref_5719) # ROL operation
ref_5727 = ref_5723 # MOV operation
ref_5734 = ref_5727 # MOV operation
ref_5750 = ref_5650 # MOV operation
ref_5754 = ref_5734 # MOV operation
ref_5756 = ((ref_5750 + ref_5754) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_5782 = ref_5756 # MOV operation
ref_5784 = (0x1234 ^ ref_5782) # XOR operation
ref_5805 = ref_5756 # MOV operation
ref_5809 = ref_5805 # MOV operation
ref_5853 = ref_5809 # MOV operation
ref_5857 = rol(0x34, ref_5853) # ROL operation
ref_5861 = ref_5857 # MOV operation
ref_5868 = ref_5861 # MOV operation
ref_5884 = ref_5784 # MOV operation
ref_5888 = ref_5868 # MOV operation
ref_5890 = ((ref_5884 + ref_5888) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_5916 = ref_5890 # MOV operation
ref_5918 = (0x1234 ^ ref_5916) # XOR operation
ref_5939 = ref_5890 # MOV operation
ref_5943 = ref_5939 # MOV operation
ref_5987 = ref_5943 # MOV operation
ref_5991 = rol(0x1A, ref_5987) # ROL operation
ref_5995 = ref_5991 # MOV operation
ref_6002 = ref_5995 # MOV operation
ref_6018 = ref_5918 # MOV operation
ref_6022 = ref_6002 # MOV operation
ref_6024 = ((ref_6018 + ref_6022) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6046 = ref_5734 # MOV operation
ref_6050 = ref_6024 # MOV operation
ref_6052 = (ref_6046 ^ ref_6050) # XOR operation
ref_6073 = ref_6024 # MOV operation
ref_6077 = ref_6073 # MOV operation
ref_6121 = ref_6077 # MOV operation
ref_6125 = rol(0x33, ref_6121) # ROL operation
ref_6129 = ref_6125 # MOV operation
ref_6136 = ref_6129 # MOV operation
ref_6152 = ref_6052 # MOV operation
ref_6156 = ref_6136 # MOV operation
ref_6158 = ((ref_6152 + ref_6156) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6180 = ref_5868 # MOV operation
ref_6184 = ref_6158 # MOV operation
ref_6186 = (ref_6180 ^ ref_6184) # XOR operation
ref_6207 = ref_6158 # MOV operation
ref_6211 = ref_6207 # MOV operation
ref_6255 = ref_6211 # MOV operation
ref_6259 = rol(0x1C, ref_6255) # ROL operation
ref_6263 = ref_6259 # MOV operation
ref_6270 = ref_6263 # MOV operation
ref_6286 = ref_6186 # MOV operation
ref_6290 = ref_6270 # MOV operation
ref_6292 = ((ref_6286 + ref_6290) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6314 = ref_6002 # MOV operation
ref_6318 = ref_6292 # MOV operation
ref_6320 = (ref_6314 ^ ref_6318) # XOR operation
ref_6341 = ref_6292 # MOV operation
ref_6345 = ref_6341 # MOV operation
ref_6389 = ref_6345 # MOV operation
ref_6393 = rol(0x9, ref_6389) # ROL operation
ref_6397 = ref_6393 # MOV operation
ref_6404 = ref_6397 # MOV operation
ref_6420 = ref_6320 # MOV operation
ref_6424 = ref_6404 # MOV operation
ref_6426 = ((ref_6420 + ref_6424) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6448 = ref_6136 # MOV operation
ref_6452 = ref_6426 # MOV operation
ref_6454 = (ref_6448 ^ ref_6452) # XOR operation
ref_6475 = ref_6426 # MOV operation
ref_6479 = ref_6475 # MOV operation
ref_6523 = ref_6479 # MOV operation
ref_6527 = rol(0x2F, ref_6523) # ROL operation
ref_6531 = ref_6527 # MOV operation
ref_6538 = ref_6531 # MOV operation
ref_6554 = ref_6454 # MOV operation
ref_6558 = ref_6538 # MOV operation
ref_6560 = ((ref_6554 + ref_6558) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6582 = ref_6270 # MOV operation
ref_6586 = ref_6560 # MOV operation
ref_6588 = (ref_6582 ^ ref_6586) # XOR operation
ref_6609 = ref_6560 # MOV operation
ref_6613 = ref_6609 # MOV operation
ref_6657 = ref_6613 # MOV operation
ref_6661 = rol(0x36, ref_6657) # ROL operation
ref_6665 = ref_6661 # MOV operation
ref_6672 = ref_6665 # MOV operation
ref_6688 = ref_6588 # MOV operation
ref_6692 = ref_6672 # MOV operation
ref_6694 = ((ref_6688 + ref_6692) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6716 = ref_6404 # MOV operation
ref_6720 = ref_6694 # MOV operation
ref_6722 = (ref_6716 ^ ref_6720) # XOR operation
ref_6743 = ref_6694 # MOV operation
ref_6747 = ref_6743 # MOV operation
ref_6791 = ref_6747 # MOV operation
ref_6795 = rol(0x20, ref_6791) # ROL operation
ref_6799 = ref_6795 # MOV operation
ref_6806 = ref_6799 # MOV operation
ref_6822 = ref_6722 # MOV operation
ref_6826 = ref_6806 # MOV operation
ref_6828 = ((ref_6822 + ref_6826) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6850 = ref_6538 # MOV operation
ref_6854 = ref_6828 # MOV operation
ref_6856 = (ref_6850 ^ ref_6854) # XOR operation
ref_6877 = ref_6828 # MOV operation
ref_6881 = ref_6877 # MOV operation
ref_6925 = ref_6881 # MOV operation
ref_6929 = rol(0x19, ref_6925) # ROL operation
ref_6933 = ref_6929 # MOV operation
ref_6940 = ref_6933 # MOV operation
ref_6956 = ref_6856 # MOV operation
ref_6960 = ref_6940 # MOV operation
ref_6962 = ((ref_6956 + ref_6960) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7011 = ref_6962 # MOV operation
ref_7015 = ref_7011 # MOV operation
ref_7059 = ref_7015 # MOV operation
ref_7063 = rol(0x3F, ref_7059) # ROL operation
ref_7067 = ref_7063 # MOV operation
ref_7074 = ref_7067 # MOV operation
ref_7123 = ref_7074 # MOV operation
ref_7185 = ref_7123 # MOV operation
ref_7397 = ref_7185 # MOV operation
ref_7431 = ref_7397 # MOV operation
ref_7672 = ref_7431 # MOV operation
ref_7808 = ref_7672 # MOV operation
ref_7846 = ref_7808 # MOV operation
ref_7858 = ref_7846 # MOV operation
ref_7860 = ref_7858 # MOV operation

print ref_7860 & 0xffffffffffffffff
