#!/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_169057 = ref_239 # MOV operation
ref_169061 = ((0xDEADBEEFDEADBEEF + ref_169057) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_169168 = ref_169061 # MOV operation
ref_169170 = (0xE6ADBEEFDEADBEEF ^ ref_169168) # XOR operation
ref_169191 = ref_169061 # MOV operation
ref_169195 = ref_169191 # MOV operation
ref_169239 = ref_169195 # MOV operation
ref_169243 = rol(0xF, ref_169239) # ROL operation
ref_169247 = ref_169243 # MOV operation
ref_169254 = ref_169247 # MOV operation
ref_169270 = ref_169170 # MOV operation
ref_169274 = ref_169254 # MOV operation
ref_169276 = ((ref_169270 + ref_169274) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_169302 = ref_169276 # MOV operation
ref_169304 = (0x1234 ^ ref_169302) # XOR operation
ref_169325 = ref_169276 # MOV operation
ref_169329 = ref_169325 # MOV operation
ref_169373 = ref_169329 # MOV operation
ref_169377 = rol(0x34, ref_169373) # ROL operation
ref_169381 = ref_169377 # MOV operation
ref_169388 = ref_169381 # MOV operation
ref_169404 = ref_169304 # MOV operation
ref_169408 = ref_169388 # MOV operation
ref_169410 = ((ref_169404 + ref_169408) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_169436 = ref_169410 # MOV operation
ref_169438 = (0x1234 ^ ref_169436) # XOR operation
ref_169459 = ref_169410 # MOV operation
ref_169463 = ref_169459 # MOV operation
ref_169507 = ref_169463 # MOV operation
ref_169511 = rol(0x1A, ref_169507) # ROL operation
ref_169515 = ref_169511 # MOV operation
ref_169522 = ref_169515 # MOV operation
ref_169538 = ref_169438 # MOV operation
ref_169542 = ref_169522 # MOV operation
ref_169544 = ((ref_169538 + ref_169542) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_169566 = ref_169254 # MOV operation
ref_169570 = ref_169544 # MOV operation
ref_169572 = (ref_169566 ^ ref_169570) # XOR operation
ref_169593 = ref_169544 # MOV operation
ref_169597 = ref_169593 # MOV operation
ref_169641 = ref_169597 # MOV operation
ref_169645 = rol(0x33, ref_169641) # ROL operation
ref_169649 = ref_169645 # MOV operation
ref_169656 = ref_169649 # MOV operation
ref_169672 = ref_169572 # MOV operation
ref_169676 = ref_169656 # MOV operation
ref_169678 = ((ref_169672 + ref_169676) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_169700 = ref_169388 # MOV operation
ref_169704 = ref_169678 # MOV operation
ref_169706 = (ref_169700 ^ ref_169704) # XOR operation
ref_169727 = ref_169678 # MOV operation
ref_169731 = ref_169727 # MOV operation
ref_169775 = ref_169731 # MOV operation
ref_169779 = rol(0x1C, ref_169775) # ROL operation
ref_169783 = ref_169779 # MOV operation
ref_169790 = ref_169783 # MOV operation
ref_169806 = ref_169706 # MOV operation
ref_169810 = ref_169790 # MOV operation
ref_169812 = ((ref_169806 + ref_169810) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_169834 = ref_169522 # MOV operation
ref_169838 = ref_169812 # MOV operation
ref_169840 = (ref_169834 ^ ref_169838) # XOR operation
ref_169861 = ref_169812 # MOV operation
ref_169865 = ref_169861 # MOV operation
ref_169909 = ref_169865 # MOV operation
ref_169913 = rol(0x9, ref_169909) # ROL operation
ref_169917 = ref_169913 # MOV operation
ref_169924 = ref_169917 # MOV operation
ref_169940 = ref_169840 # MOV operation
ref_169944 = ref_169924 # MOV operation
ref_169946 = ((ref_169940 + ref_169944) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_169968 = ref_169656 # MOV operation
ref_169972 = ref_169946 # MOV operation
ref_169974 = (ref_169968 ^ ref_169972) # XOR operation
ref_169995 = ref_169946 # MOV operation
ref_169999 = ref_169995 # MOV operation
ref_170043 = ref_169999 # MOV operation
ref_170047 = rol(0x2F, ref_170043) # ROL operation
ref_170051 = ref_170047 # MOV operation
ref_170058 = ref_170051 # MOV operation
ref_170074 = ref_169974 # MOV operation
ref_170078 = ref_170058 # MOV operation
ref_170080 = ((ref_170074 + ref_170078) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_170102 = ref_169790 # MOV operation
ref_170106 = ref_170080 # MOV operation
ref_170108 = (ref_170102 ^ ref_170106) # XOR operation
ref_170129 = ref_170080 # MOV operation
ref_170133 = ref_170129 # MOV operation
ref_170177 = ref_170133 # MOV operation
ref_170181 = rol(0x36, ref_170177) # ROL operation
ref_170185 = ref_170181 # MOV operation
ref_170192 = ref_170185 # MOV operation
ref_170208 = ref_170108 # MOV operation
ref_170212 = ref_170192 # MOV operation
ref_170214 = ((ref_170208 + ref_170212) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_170236 = ref_169924 # MOV operation
ref_170240 = ref_170214 # MOV operation
ref_170242 = (ref_170236 ^ ref_170240) # XOR operation
ref_170263 = ref_170214 # MOV operation
ref_170267 = ref_170263 # MOV operation
ref_170311 = ref_170267 # MOV operation
ref_170315 = rol(0x20, ref_170311) # ROL operation
ref_170319 = ref_170315 # MOV operation
ref_170326 = ref_170319 # MOV operation
ref_170342 = ref_170242 # MOV operation
ref_170346 = ref_170326 # MOV operation
ref_170348 = ((ref_170342 + ref_170346) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_170370 = ref_170058 # MOV operation
ref_170374 = ref_170348 # MOV operation
ref_170376 = (ref_170370 ^ ref_170374) # XOR operation
ref_170397 = ref_170348 # MOV operation
ref_170401 = ref_170397 # MOV operation
ref_170445 = ref_170401 # MOV operation
ref_170449 = rol(0x19, ref_170445) # ROL operation
ref_170453 = ref_170449 # MOV operation
ref_170460 = ref_170453 # MOV operation
ref_170476 = ref_170376 # MOV operation
ref_170480 = ref_170460 # MOV operation
ref_170482 = ((ref_170476 + ref_170480) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_170531 = ref_170482 # MOV operation
ref_170535 = ref_170531 # MOV operation
ref_170579 = ref_170535 # MOV operation
ref_170583 = rol(0x3F, ref_170579) # ROL operation
ref_170587 = ref_170583 # MOV operation
ref_170594 = ref_170587 # MOV operation
ref_170643 = ref_170594 # MOV operation
ref_170705 = ref_170643 # MOV operation
ref_252740 = ref_170705 # MOV operation
ref_280067 = ref_252740 # MOV operation
ref_362077 = ref_280067 # MOV operation
ref_389401 = ref_362077 # MOV operation
ref_389439 = ref_389401 # MOV operation
ref_389451 = ref_389439 # MOV operation
ref_389453 = ref_389451 # MOV operation

print ref_389453 & 0xffffffffffffffff
