#!/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_5705 = ref_239 # MOV operation
ref_5709 = ((0xDEADBEEFDEADBEEF + ref_5705) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_5816 = ref_5709 # MOV operation
ref_5818 = (0xE6ADBEEFDEADBEEF ^ ref_5816) # XOR operation
ref_5839 = ref_5709 # MOV operation
ref_5843 = ref_5839 # MOV operation
ref_5887 = ref_5843 # MOV operation
ref_5891 = rol(0xF, ref_5887) # ROL operation
ref_5895 = ref_5891 # MOV operation
ref_5902 = ref_5895 # MOV operation
ref_5918 = ref_5818 # MOV operation
ref_5922 = ref_5902 # MOV operation
ref_5924 = ((ref_5918 + ref_5922) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_5950 = ref_5924 # MOV operation
ref_5952 = (0x1234 ^ ref_5950) # XOR operation
ref_5973 = ref_5924 # MOV operation
ref_5977 = ref_5973 # MOV operation
ref_6021 = ref_5977 # MOV operation
ref_6025 = rol(0x34, ref_6021) # ROL operation
ref_6029 = ref_6025 # MOV operation
ref_6036 = ref_6029 # MOV operation
ref_6052 = ref_5952 # MOV operation
ref_6056 = ref_6036 # MOV operation
ref_6058 = ((ref_6052 + ref_6056) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6084 = ref_6058 # MOV operation
ref_6086 = (0x1234 ^ ref_6084) # XOR operation
ref_6107 = ref_6058 # MOV operation
ref_6111 = ref_6107 # MOV operation
ref_6155 = ref_6111 # MOV operation
ref_6159 = rol(0x1A, ref_6155) # ROL operation
ref_6163 = ref_6159 # MOV operation
ref_6170 = ref_6163 # MOV operation
ref_6186 = ref_6086 # MOV operation
ref_6190 = ref_6170 # MOV operation
ref_6192 = ((ref_6186 + ref_6190) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6214 = ref_5902 # MOV operation
ref_6218 = ref_6192 # MOV operation
ref_6220 = (ref_6214 ^ ref_6218) # XOR operation
ref_6241 = ref_6192 # MOV operation
ref_6245 = ref_6241 # MOV operation
ref_6289 = ref_6245 # MOV operation
ref_6293 = rol(0x33, ref_6289) # ROL operation
ref_6297 = ref_6293 # MOV operation
ref_6304 = ref_6297 # MOV operation
ref_6320 = ref_6220 # MOV operation
ref_6324 = ref_6304 # MOV operation
ref_6326 = ((ref_6320 + ref_6324) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6348 = ref_6036 # MOV operation
ref_6352 = ref_6326 # MOV operation
ref_6354 = (ref_6348 ^ ref_6352) # XOR operation
ref_6375 = ref_6326 # MOV operation
ref_6379 = ref_6375 # MOV operation
ref_6423 = ref_6379 # MOV operation
ref_6427 = rol(0x1C, ref_6423) # ROL operation
ref_6431 = ref_6427 # MOV operation
ref_6438 = ref_6431 # MOV operation
ref_6454 = ref_6354 # MOV operation
ref_6458 = ref_6438 # MOV operation
ref_6460 = ((ref_6454 + ref_6458) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6482 = ref_6170 # MOV operation
ref_6486 = ref_6460 # MOV operation
ref_6488 = (ref_6482 ^ ref_6486) # XOR operation
ref_6509 = ref_6460 # MOV operation
ref_6513 = ref_6509 # MOV operation
ref_6557 = ref_6513 # MOV operation
ref_6561 = rol(0x9, ref_6557) # ROL operation
ref_6565 = ref_6561 # MOV operation
ref_6572 = ref_6565 # MOV operation
ref_6588 = ref_6488 # MOV operation
ref_6592 = ref_6572 # MOV operation
ref_6594 = ((ref_6588 + ref_6592) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6616 = ref_6304 # MOV operation
ref_6620 = ref_6594 # MOV operation
ref_6622 = (ref_6616 ^ ref_6620) # XOR operation
ref_6643 = ref_6594 # MOV operation
ref_6647 = ref_6643 # MOV operation
ref_6691 = ref_6647 # MOV operation
ref_6695 = rol(0x2F, ref_6691) # ROL operation
ref_6699 = ref_6695 # MOV operation
ref_6706 = ref_6699 # MOV operation
ref_6722 = ref_6622 # MOV operation
ref_6726 = ref_6706 # MOV operation
ref_6728 = ((ref_6722 + ref_6726) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6750 = ref_6438 # MOV operation
ref_6754 = ref_6728 # MOV operation
ref_6756 = (ref_6750 ^ ref_6754) # XOR operation
ref_6777 = ref_6728 # MOV operation
ref_6781 = ref_6777 # MOV operation
ref_6825 = ref_6781 # MOV operation
ref_6829 = rol(0x36, ref_6825) # ROL operation
ref_6833 = ref_6829 # MOV operation
ref_6840 = ref_6833 # MOV operation
ref_6856 = ref_6756 # MOV operation
ref_6860 = ref_6840 # MOV operation
ref_6862 = ((ref_6856 + ref_6860) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6884 = ref_6572 # MOV operation
ref_6888 = ref_6862 # MOV operation
ref_6890 = (ref_6884 ^ ref_6888) # XOR operation
ref_6911 = ref_6862 # MOV operation
ref_6915 = ref_6911 # MOV operation
ref_6959 = ref_6915 # MOV operation
ref_6963 = rol(0x20, ref_6959) # ROL operation
ref_6967 = ref_6963 # MOV operation
ref_6974 = ref_6967 # MOV operation
ref_6990 = ref_6890 # MOV operation
ref_6994 = ref_6974 # MOV operation
ref_6996 = ((ref_6990 + ref_6994) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7018 = ref_6706 # MOV operation
ref_7022 = ref_6996 # MOV operation
ref_7024 = (ref_7018 ^ ref_7022) # XOR operation
ref_7045 = ref_6996 # MOV operation
ref_7049 = ref_7045 # MOV operation
ref_7093 = ref_7049 # MOV operation
ref_7097 = rol(0x19, ref_7093) # ROL operation
ref_7101 = ref_7097 # MOV operation
ref_7108 = ref_7101 # MOV operation
ref_7124 = ref_7024 # MOV operation
ref_7128 = ref_7108 # MOV operation
ref_7130 = ((ref_7124 + ref_7128) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7179 = ref_7130 # MOV operation
ref_7183 = ref_7179 # MOV operation
ref_7227 = ref_7183 # MOV operation
ref_7231 = rol(0x3F, ref_7227) # ROL operation
ref_7235 = ref_7231 # MOV operation
ref_7242 = ref_7235 # MOV operation
ref_7291 = ref_7242 # MOV operation
ref_7353 = ref_7291 # MOV operation
ref_7773 = ref_7353 # MOV operation
ref_7862 = ref_7773 # MOV operation
ref_8257 = ref_7862 # MOV operation
ref_8325 = ref_8257 # MOV operation
ref_8363 = ref_8325 # MOV operation
ref_8375 = ref_8363 # MOV operation
ref_8377 = ref_8375 # MOV operation

print ref_8377 & 0xffffffffffffffff
