#!/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_9965 = ref_239 # MOV operation
ref_9969 = ((0xDEADBEEFDEADBEEF + ref_9965) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10076 = ref_9969 # MOV operation
ref_10078 = (0xE6ADBEEFDEADBEEF ^ ref_10076) # XOR operation
ref_10099 = ref_9969 # MOV operation
ref_10103 = ref_10099 # MOV operation
ref_10147 = ref_10103 # MOV operation
ref_10151 = rol(0xF, ref_10147) # ROL operation
ref_10155 = ref_10151 # MOV operation
ref_10162 = ref_10155 # MOV operation
ref_10178 = ref_10078 # MOV operation
ref_10182 = ref_10162 # MOV operation
ref_10184 = ((ref_10178 + ref_10182) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10210 = ref_10184 # MOV operation
ref_10212 = (0x1234 ^ ref_10210) # XOR operation
ref_10233 = ref_10184 # MOV operation
ref_10237 = ref_10233 # MOV operation
ref_10281 = ref_10237 # MOV operation
ref_10285 = rol(0x34, ref_10281) # ROL operation
ref_10289 = ref_10285 # MOV operation
ref_10296 = ref_10289 # MOV operation
ref_10312 = ref_10212 # MOV operation
ref_10316 = ref_10296 # MOV operation
ref_10318 = ((ref_10312 + ref_10316) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10344 = ref_10318 # MOV operation
ref_10346 = (0x1234 ^ ref_10344) # XOR operation
ref_10367 = ref_10318 # MOV operation
ref_10371 = ref_10367 # MOV operation
ref_10415 = ref_10371 # MOV operation
ref_10419 = rol(0x1A, ref_10415) # ROL operation
ref_10423 = ref_10419 # MOV operation
ref_10430 = ref_10423 # MOV operation
ref_10446 = ref_10346 # MOV operation
ref_10450 = ref_10430 # MOV operation
ref_10452 = ((ref_10446 + ref_10450) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10474 = ref_10162 # MOV operation
ref_10478 = ref_10452 # MOV operation
ref_10480 = (ref_10474 ^ ref_10478) # XOR operation
ref_10501 = ref_10452 # MOV operation
ref_10505 = ref_10501 # MOV operation
ref_10549 = ref_10505 # MOV operation
ref_10553 = rol(0x33, ref_10549) # ROL operation
ref_10557 = ref_10553 # MOV operation
ref_10564 = ref_10557 # MOV operation
ref_10580 = ref_10480 # MOV operation
ref_10584 = ref_10564 # MOV operation
ref_10586 = ((ref_10580 + ref_10584) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10608 = ref_10296 # MOV operation
ref_10612 = ref_10586 # MOV operation
ref_10614 = (ref_10608 ^ ref_10612) # XOR operation
ref_10635 = ref_10586 # MOV operation
ref_10639 = ref_10635 # MOV operation
ref_10683 = ref_10639 # MOV operation
ref_10687 = rol(0x1C, ref_10683) # ROL operation
ref_10691 = ref_10687 # MOV operation
ref_10698 = ref_10691 # MOV operation
ref_10714 = ref_10614 # MOV operation
ref_10718 = ref_10698 # MOV operation
ref_10720 = ((ref_10714 + ref_10718) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10742 = ref_10430 # MOV operation
ref_10746 = ref_10720 # MOV operation
ref_10748 = (ref_10742 ^ ref_10746) # XOR operation
ref_10769 = ref_10720 # MOV operation
ref_10773 = ref_10769 # MOV operation
ref_10817 = ref_10773 # MOV operation
ref_10821 = rol(0x9, ref_10817) # ROL operation
ref_10825 = ref_10821 # MOV operation
ref_10832 = ref_10825 # MOV operation
ref_10848 = ref_10748 # MOV operation
ref_10852 = ref_10832 # MOV operation
ref_10854 = ((ref_10848 + ref_10852) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10876 = ref_10564 # MOV operation
ref_10880 = ref_10854 # MOV operation
ref_10882 = (ref_10876 ^ ref_10880) # XOR operation
ref_10903 = ref_10854 # MOV operation
ref_10907 = ref_10903 # MOV operation
ref_10951 = ref_10907 # MOV operation
ref_10955 = rol(0x2F, ref_10951) # ROL operation
ref_10959 = ref_10955 # MOV operation
ref_10966 = ref_10959 # MOV operation
ref_10982 = ref_10882 # MOV operation
ref_10986 = ref_10966 # MOV operation
ref_10988 = ((ref_10982 + ref_10986) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_11010 = ref_10698 # MOV operation
ref_11014 = ref_10988 # MOV operation
ref_11016 = (ref_11010 ^ ref_11014) # XOR operation
ref_11037 = ref_10988 # MOV operation
ref_11041 = ref_11037 # MOV operation
ref_11085 = ref_11041 # MOV operation
ref_11089 = rol(0x36, ref_11085) # ROL operation
ref_11093 = ref_11089 # MOV operation
ref_11100 = ref_11093 # MOV operation
ref_11116 = ref_11016 # MOV operation
ref_11120 = ref_11100 # MOV operation
ref_11122 = ((ref_11116 + ref_11120) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_11144 = ref_10832 # MOV operation
ref_11148 = ref_11122 # MOV operation
ref_11150 = (ref_11144 ^ ref_11148) # XOR operation
ref_11171 = ref_11122 # MOV operation
ref_11175 = ref_11171 # MOV operation
ref_11219 = ref_11175 # MOV operation
ref_11223 = rol(0x20, ref_11219) # ROL operation
ref_11227 = ref_11223 # MOV operation
ref_11234 = ref_11227 # MOV operation
ref_11250 = ref_11150 # MOV operation
ref_11254 = ref_11234 # MOV operation
ref_11256 = ((ref_11250 + ref_11254) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_11278 = ref_10966 # MOV operation
ref_11282 = ref_11256 # MOV operation
ref_11284 = (ref_11278 ^ ref_11282) # XOR operation
ref_11305 = ref_11256 # MOV operation
ref_11309 = ref_11305 # MOV operation
ref_11353 = ref_11309 # MOV operation
ref_11357 = rol(0x19, ref_11353) # ROL operation
ref_11361 = ref_11357 # MOV operation
ref_11368 = ref_11361 # MOV operation
ref_11384 = ref_11284 # MOV operation
ref_11388 = ref_11368 # MOV operation
ref_11390 = ((ref_11384 + ref_11388) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_11439 = ref_11390 # MOV operation
ref_11443 = ref_11439 # MOV operation
ref_11487 = ref_11443 # MOV operation
ref_11491 = rol(0x3F, ref_11487) # ROL operation
ref_11495 = ref_11491 # MOV operation
ref_11502 = ref_11495 # MOV operation
ref_11551 = ref_11502 # MOV operation
ref_11613 = ref_11551 # MOV operation
ref_11964 = ref_11613 # MOV operation
ref_12063 = ref_11964 # MOV operation
ref_12389 = ref_12063 # MOV operation
ref_12476 = ref_12389 # MOV operation
ref_12514 = ref_12476 # MOV operation
ref_12526 = ref_12514 # MOV operation
ref_12528 = ref_12526 # MOV operation

print ref_12528 & 0xffffffffffffffff
