#!/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_5758 = ref_239 # MOV operation
ref_5762 = ((0xDEADBEEFDEADBEEF + ref_5758) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_5869 = ref_5762 # MOV operation
ref_5871 = (0xE6ADBEEFDEADBEEF ^ ref_5869) # XOR operation
ref_5892 = ref_5762 # MOV operation
ref_5896 = ref_5892 # MOV operation
ref_5940 = ref_5896 # MOV operation
ref_5944 = rol(0xF, ref_5940) # ROL operation
ref_5948 = ref_5944 # MOV operation
ref_5955 = ref_5948 # MOV operation
ref_5971 = ref_5871 # MOV operation
ref_5975 = ref_5955 # MOV operation
ref_5977 = ((ref_5971 + ref_5975) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6003 = ref_5977 # MOV operation
ref_6005 = (0x1234 ^ ref_6003) # XOR operation
ref_6026 = ref_5977 # MOV operation
ref_6030 = ref_6026 # MOV operation
ref_6074 = ref_6030 # MOV operation
ref_6078 = rol(0x34, ref_6074) # ROL operation
ref_6082 = ref_6078 # MOV operation
ref_6089 = ref_6082 # MOV operation
ref_6105 = ref_6005 # MOV operation
ref_6109 = ref_6089 # MOV operation
ref_6111 = ((ref_6105 + ref_6109) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6137 = ref_6111 # MOV operation
ref_6139 = (0x1234 ^ ref_6137) # XOR operation
ref_6160 = ref_6111 # MOV operation
ref_6164 = ref_6160 # MOV operation
ref_6208 = ref_6164 # MOV operation
ref_6212 = rol(0x1A, ref_6208) # ROL operation
ref_6216 = ref_6212 # MOV operation
ref_6223 = ref_6216 # MOV operation
ref_6239 = ref_6139 # MOV operation
ref_6243 = ref_6223 # MOV operation
ref_6245 = ((ref_6239 + ref_6243) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6267 = ref_5955 # MOV operation
ref_6271 = ref_6245 # MOV operation
ref_6273 = (ref_6267 ^ ref_6271) # XOR operation
ref_6294 = ref_6245 # MOV operation
ref_6298 = ref_6294 # MOV operation
ref_6342 = ref_6298 # MOV operation
ref_6346 = rol(0x33, ref_6342) # ROL operation
ref_6350 = ref_6346 # MOV operation
ref_6357 = ref_6350 # MOV operation
ref_6373 = ref_6273 # MOV operation
ref_6377 = ref_6357 # MOV operation
ref_6379 = ((ref_6373 + ref_6377) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6401 = ref_6089 # MOV operation
ref_6405 = ref_6379 # MOV operation
ref_6407 = (ref_6401 ^ ref_6405) # XOR operation
ref_6428 = ref_6379 # MOV operation
ref_6432 = ref_6428 # MOV operation
ref_6476 = ref_6432 # MOV operation
ref_6480 = rol(0x1C, ref_6476) # ROL operation
ref_6484 = ref_6480 # MOV operation
ref_6491 = ref_6484 # MOV operation
ref_6507 = ref_6407 # MOV operation
ref_6511 = ref_6491 # MOV operation
ref_6513 = ((ref_6507 + ref_6511) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6535 = ref_6223 # MOV operation
ref_6539 = ref_6513 # MOV operation
ref_6541 = (ref_6535 ^ ref_6539) # XOR operation
ref_6562 = ref_6513 # MOV operation
ref_6566 = ref_6562 # MOV operation
ref_6610 = ref_6566 # MOV operation
ref_6614 = rol(0x9, ref_6610) # ROL operation
ref_6618 = ref_6614 # MOV operation
ref_6625 = ref_6618 # MOV operation
ref_6641 = ref_6541 # MOV operation
ref_6645 = ref_6625 # MOV operation
ref_6647 = ((ref_6641 + ref_6645) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6669 = ref_6357 # MOV operation
ref_6673 = ref_6647 # MOV operation
ref_6675 = (ref_6669 ^ ref_6673) # XOR operation
ref_6696 = ref_6647 # MOV operation
ref_6700 = ref_6696 # MOV operation
ref_6744 = ref_6700 # MOV operation
ref_6748 = rol(0x2F, ref_6744) # ROL operation
ref_6752 = ref_6748 # MOV operation
ref_6759 = ref_6752 # MOV operation
ref_6775 = ref_6675 # MOV operation
ref_6779 = ref_6759 # MOV operation
ref_6781 = ((ref_6775 + ref_6779) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6803 = ref_6491 # MOV operation
ref_6807 = ref_6781 # MOV operation
ref_6809 = (ref_6803 ^ ref_6807) # XOR operation
ref_6830 = ref_6781 # MOV operation
ref_6834 = ref_6830 # MOV operation
ref_6878 = ref_6834 # MOV operation
ref_6882 = rol(0x36, ref_6878) # ROL operation
ref_6886 = ref_6882 # MOV operation
ref_6893 = ref_6886 # MOV operation
ref_6909 = ref_6809 # MOV operation
ref_6913 = ref_6893 # MOV operation
ref_6915 = ((ref_6909 + ref_6913) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_6937 = ref_6625 # MOV operation
ref_6941 = ref_6915 # MOV operation
ref_6943 = (ref_6937 ^ ref_6941) # XOR operation
ref_6964 = ref_6915 # MOV operation
ref_6968 = ref_6964 # MOV operation
ref_7012 = ref_6968 # MOV operation
ref_7016 = rol(0x20, ref_7012) # ROL operation
ref_7020 = ref_7016 # MOV operation
ref_7027 = ref_7020 # MOV operation
ref_7043 = ref_6943 # MOV operation
ref_7047 = ref_7027 # MOV operation
ref_7049 = ((ref_7043 + ref_7047) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7071 = ref_6759 # MOV operation
ref_7075 = ref_7049 # MOV operation
ref_7077 = (ref_7071 ^ ref_7075) # XOR operation
ref_7098 = ref_7049 # MOV operation
ref_7102 = ref_7098 # MOV operation
ref_7146 = ref_7102 # MOV operation
ref_7150 = rol(0x19, ref_7146) # ROL operation
ref_7154 = ref_7150 # MOV operation
ref_7161 = ref_7154 # MOV operation
ref_7177 = ref_7077 # MOV operation
ref_7181 = ref_7161 # MOV operation
ref_7183 = ((ref_7177 + ref_7181) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7232 = ref_7183 # MOV operation
ref_7236 = ref_7232 # MOV operation
ref_7280 = ref_7236 # MOV operation
ref_7284 = rol(0x3F, ref_7280) # ROL operation
ref_7288 = ref_7284 # MOV operation
ref_7295 = ref_7288 # MOV operation
ref_7344 = ref_7295 # MOV operation
ref_7406 = ref_7344 # MOV operation
ref_7679 = ref_7406 # MOV operation
ref_7731 = ref_7679 # MOV operation
ref_7950 = ref_7731 # MOV operation
ref_7990 = ref_7950 # MOV operation
ref_8028 = ref_7990 # MOV operation
ref_8040 = ref_8028 # MOV operation
ref_8042 = ref_8040 # MOV operation

print ref_8042 & 0xffffffffffffffff
