#!/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_220 = SymVar_0
ref_231 = ref_220 # MOV operation
ref_243 = ref_231 # MOV operation
ref_245 = ref_243 # MOV operation
ref_12067 = ref_245 # MOV operation
ref_12071 = ((0xDEADBEEFDEADBEEF + ref_12067) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_12178 = ref_12071 # MOV operation
ref_12180 = (0xE6ADBEEFDEADBEEF ^ ref_12178) # XOR operation
ref_12201 = ref_12071 # MOV operation
ref_12205 = ref_12201 # MOV operation
ref_12249 = ref_12205 # MOV operation
ref_12253 = rol(0xF, ref_12249) # ROL operation
ref_12257 = ref_12253 # MOV operation
ref_12264 = ref_12257 # MOV operation
ref_12280 = ref_12180 # MOV operation
ref_12284 = ref_12264 # MOV operation
ref_12286 = ((ref_12280 + ref_12284) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_12312 = ref_12286 # MOV operation
ref_12314 = (0x1234 ^ ref_12312) # XOR operation
ref_12335 = ref_12286 # MOV operation
ref_12339 = ref_12335 # MOV operation
ref_12383 = ref_12339 # MOV operation
ref_12387 = rol(0x34, ref_12383) # ROL operation
ref_12391 = ref_12387 # MOV operation
ref_12398 = ref_12391 # MOV operation
ref_12414 = ref_12314 # MOV operation
ref_12418 = ref_12398 # MOV operation
ref_12420 = ((ref_12414 + ref_12418) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_12446 = ref_12420 # MOV operation
ref_12448 = (0x1234 ^ ref_12446) # XOR operation
ref_12469 = ref_12420 # MOV operation
ref_12473 = ref_12469 # MOV operation
ref_12517 = ref_12473 # MOV operation
ref_12521 = rol(0x1A, ref_12517) # ROL operation
ref_12525 = ref_12521 # MOV operation
ref_12532 = ref_12525 # MOV operation
ref_12548 = ref_12448 # MOV operation
ref_12552 = ref_12532 # MOV operation
ref_12554 = ((ref_12548 + ref_12552) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_12576 = ref_12264 # MOV operation
ref_12580 = ref_12554 # MOV operation
ref_12582 = (ref_12576 ^ ref_12580) # XOR operation
ref_12603 = ref_12554 # MOV operation
ref_12607 = ref_12603 # MOV operation
ref_12651 = ref_12607 # MOV operation
ref_12655 = rol(0x33, ref_12651) # ROL operation
ref_12659 = ref_12655 # MOV operation
ref_12666 = ref_12659 # MOV operation
ref_12682 = ref_12582 # MOV operation
ref_12686 = ref_12666 # MOV operation
ref_12688 = ((ref_12682 + ref_12686) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_12710 = ref_12398 # MOV operation
ref_12714 = ref_12688 # MOV operation
ref_12716 = (ref_12710 ^ ref_12714) # XOR operation
ref_12737 = ref_12688 # MOV operation
ref_12741 = ref_12737 # MOV operation
ref_12785 = ref_12741 # MOV operation
ref_12789 = rol(0x1C, ref_12785) # ROL operation
ref_12793 = ref_12789 # MOV operation
ref_12800 = ref_12793 # MOV operation
ref_12816 = ref_12716 # MOV operation
ref_12820 = ref_12800 # MOV operation
ref_12822 = ((ref_12816 + ref_12820) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_12844 = ref_12532 # MOV operation
ref_12848 = ref_12822 # MOV operation
ref_12850 = (ref_12844 ^ ref_12848) # XOR operation
ref_12871 = ref_12822 # MOV operation
ref_12875 = ref_12871 # MOV operation
ref_12919 = ref_12875 # MOV operation
ref_12923 = rol(0x9, ref_12919) # ROL operation
ref_12927 = ref_12923 # MOV operation
ref_12934 = ref_12927 # MOV operation
ref_12950 = ref_12850 # MOV operation
ref_12954 = ref_12934 # MOV operation
ref_12956 = ((ref_12950 + ref_12954) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_12978 = ref_12666 # MOV operation
ref_12982 = ref_12956 # MOV operation
ref_12984 = (ref_12978 ^ ref_12982) # XOR operation
ref_13005 = ref_12956 # MOV operation
ref_13009 = ref_13005 # MOV operation
ref_13053 = ref_13009 # MOV operation
ref_13057 = rol(0x2F, ref_13053) # ROL operation
ref_13061 = ref_13057 # MOV operation
ref_13068 = ref_13061 # MOV operation
ref_13084 = ref_12984 # MOV operation
ref_13088 = ref_13068 # MOV operation
ref_13090 = ((ref_13084 + ref_13088) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_13112 = ref_12800 # MOV operation
ref_13116 = ref_13090 # MOV operation
ref_13118 = (ref_13112 ^ ref_13116) # XOR operation
ref_13139 = ref_13090 # MOV operation
ref_13143 = ref_13139 # MOV operation
ref_13187 = ref_13143 # MOV operation
ref_13191 = rol(0x36, ref_13187) # ROL operation
ref_13195 = ref_13191 # MOV operation
ref_13202 = ref_13195 # MOV operation
ref_13218 = ref_13118 # MOV operation
ref_13222 = ref_13202 # MOV operation
ref_13224 = ((ref_13218 + ref_13222) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_13246 = ref_12934 # MOV operation
ref_13250 = ref_13224 # MOV operation
ref_13252 = (ref_13246 ^ ref_13250) # XOR operation
ref_13273 = ref_13224 # MOV operation
ref_13277 = ref_13273 # MOV operation
ref_13321 = ref_13277 # MOV operation
ref_13325 = rol(0x20, ref_13321) # ROL operation
ref_13329 = ref_13325 # MOV operation
ref_13336 = ref_13329 # MOV operation
ref_13352 = ref_13252 # MOV operation
ref_13356 = ref_13336 # MOV operation
ref_13358 = ((ref_13352 + ref_13356) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_13380 = ref_13068 # MOV operation
ref_13384 = ref_13358 # MOV operation
ref_13386 = (ref_13380 ^ ref_13384) # XOR operation
ref_13407 = ref_13358 # MOV operation
ref_13411 = ref_13407 # MOV operation
ref_13455 = ref_13411 # MOV operation
ref_13459 = rol(0x19, ref_13455) # ROL operation
ref_13463 = ref_13459 # MOV operation
ref_13470 = ref_13463 # MOV operation
ref_13486 = ref_13386 # MOV operation
ref_13490 = ref_13470 # MOV operation
ref_13492 = ((ref_13486 + ref_13490) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_13541 = ref_13492 # MOV operation
ref_13545 = ref_13541 # MOV operation
ref_13589 = ref_13545 # MOV operation
ref_13593 = rol(0x3F, ref_13589) # ROL operation
ref_13597 = ref_13593 # MOV operation
ref_13604 = ref_13597 # MOV operation
ref_13653 = ref_13604 # MOV operation
ref_13715 = ref_13653 # MOV operation
ref_15395 = ref_13715 # MOV operation
ref_15897 = ref_15395 # MOV operation
ref_17519 = ref_15897 # MOV operation
ref_18021 = ref_17519 # MOV operation
ref_18060 = ref_18021 # MOV operation
ref_18072 = ref_18060 # MOV operation
ref_18074 = ref_18072 # MOV operation

print ref_18074 & 0xffffffffffffffff
