#!/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_332305 = ref_239 # MOV operation
ref_332309 = ((0xDEADBEEFDEADBEEF + ref_332305) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_332416 = ref_332309 # MOV operation
ref_332418 = (0xE6ADBEEFDEADBEEF ^ ref_332416) # XOR operation
ref_332439 = ref_332309 # MOV operation
ref_332443 = ref_332439 # MOV operation
ref_332487 = ref_332443 # MOV operation
ref_332491 = rol(0xF, ref_332487) # ROL operation
ref_332495 = ref_332491 # MOV operation
ref_332502 = ref_332495 # MOV operation
ref_332518 = ref_332418 # MOV operation
ref_332522 = ref_332502 # MOV operation
ref_332524 = ((ref_332518 + ref_332522) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_332550 = ref_332524 # MOV operation
ref_332552 = (0x1234 ^ ref_332550) # XOR operation
ref_332573 = ref_332524 # MOV operation
ref_332577 = ref_332573 # MOV operation
ref_332621 = ref_332577 # MOV operation
ref_332625 = rol(0x34, ref_332621) # ROL operation
ref_332629 = ref_332625 # MOV operation
ref_332636 = ref_332629 # MOV operation
ref_332652 = ref_332552 # MOV operation
ref_332656 = ref_332636 # MOV operation
ref_332658 = ((ref_332652 + ref_332656) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_332684 = ref_332658 # MOV operation
ref_332686 = (0x1234 ^ ref_332684) # XOR operation
ref_332707 = ref_332658 # MOV operation
ref_332711 = ref_332707 # MOV operation
ref_332755 = ref_332711 # MOV operation
ref_332759 = rol(0x1A, ref_332755) # ROL operation
ref_332763 = ref_332759 # MOV operation
ref_332770 = ref_332763 # MOV operation
ref_332786 = ref_332686 # MOV operation
ref_332790 = ref_332770 # MOV operation
ref_332792 = ((ref_332786 + ref_332790) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_332814 = ref_332502 # MOV operation
ref_332818 = ref_332792 # MOV operation
ref_332820 = (ref_332814 ^ ref_332818) # XOR operation
ref_332841 = ref_332792 # MOV operation
ref_332845 = ref_332841 # MOV operation
ref_332889 = ref_332845 # MOV operation
ref_332893 = rol(0x33, ref_332889) # ROL operation
ref_332897 = ref_332893 # MOV operation
ref_332904 = ref_332897 # MOV operation
ref_332920 = ref_332820 # MOV operation
ref_332924 = ref_332904 # MOV operation
ref_332926 = ((ref_332920 + ref_332924) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_332948 = ref_332636 # MOV operation
ref_332952 = ref_332926 # MOV operation
ref_332954 = (ref_332948 ^ ref_332952) # XOR operation
ref_332975 = ref_332926 # MOV operation
ref_332979 = ref_332975 # MOV operation
ref_333023 = ref_332979 # MOV operation
ref_333027 = rol(0x1C, ref_333023) # ROL operation
ref_333031 = ref_333027 # MOV operation
ref_333038 = ref_333031 # MOV operation
ref_333054 = ref_332954 # MOV operation
ref_333058 = ref_333038 # MOV operation
ref_333060 = ((ref_333054 + ref_333058) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_333082 = ref_332770 # MOV operation
ref_333086 = ref_333060 # MOV operation
ref_333088 = (ref_333082 ^ ref_333086) # XOR operation
ref_333109 = ref_333060 # MOV operation
ref_333113 = ref_333109 # MOV operation
ref_333157 = ref_333113 # MOV operation
ref_333161 = rol(0x9, ref_333157) # ROL operation
ref_333165 = ref_333161 # MOV operation
ref_333172 = ref_333165 # MOV operation
ref_333188 = ref_333088 # MOV operation
ref_333192 = ref_333172 # MOV operation
ref_333194 = ((ref_333188 + ref_333192) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_333216 = ref_332904 # MOV operation
ref_333220 = ref_333194 # MOV operation
ref_333222 = (ref_333216 ^ ref_333220) # XOR operation
ref_333243 = ref_333194 # MOV operation
ref_333247 = ref_333243 # MOV operation
ref_333291 = ref_333247 # MOV operation
ref_333295 = rol(0x2F, ref_333291) # ROL operation
ref_333299 = ref_333295 # MOV operation
ref_333306 = ref_333299 # MOV operation
ref_333322 = ref_333222 # MOV operation
ref_333326 = ref_333306 # MOV operation
ref_333328 = ((ref_333322 + ref_333326) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_333350 = ref_333038 # MOV operation
ref_333354 = ref_333328 # MOV operation
ref_333356 = (ref_333350 ^ ref_333354) # XOR operation
ref_333377 = ref_333328 # MOV operation
ref_333381 = ref_333377 # MOV operation
ref_333425 = ref_333381 # MOV operation
ref_333429 = rol(0x36, ref_333425) # ROL operation
ref_333433 = ref_333429 # MOV operation
ref_333440 = ref_333433 # MOV operation
ref_333456 = ref_333356 # MOV operation
ref_333460 = ref_333440 # MOV operation
ref_333462 = ((ref_333456 + ref_333460) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_333484 = ref_333172 # MOV operation
ref_333488 = ref_333462 # MOV operation
ref_333490 = (ref_333484 ^ ref_333488) # XOR operation
ref_333511 = ref_333462 # MOV operation
ref_333515 = ref_333511 # MOV operation
ref_333559 = ref_333515 # MOV operation
ref_333563 = rol(0x20, ref_333559) # ROL operation
ref_333567 = ref_333563 # MOV operation
ref_333574 = ref_333567 # MOV operation
ref_333590 = ref_333490 # MOV operation
ref_333594 = ref_333574 # MOV operation
ref_333596 = ((ref_333590 + ref_333594) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_333618 = ref_333306 # MOV operation
ref_333622 = ref_333596 # MOV operation
ref_333624 = (ref_333618 ^ ref_333622) # XOR operation
ref_333645 = ref_333596 # MOV operation
ref_333649 = ref_333645 # MOV operation
ref_333693 = ref_333649 # MOV operation
ref_333697 = rol(0x19, ref_333693) # ROL operation
ref_333701 = ref_333697 # MOV operation
ref_333708 = ref_333701 # MOV operation
ref_333724 = ref_333624 # MOV operation
ref_333728 = ref_333708 # MOV operation
ref_333730 = ((ref_333724 + ref_333728) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_333779 = ref_333730 # MOV operation
ref_333783 = ref_333779 # MOV operation
ref_333827 = ref_333783 # MOV operation
ref_333831 = rol(0x3F, ref_333827) # ROL operation
ref_333835 = ref_333831 # MOV operation
ref_333842 = ref_333835 # MOV operation
ref_333891 = ref_333842 # MOV operation
ref_333953 = ref_333891 # MOV operation
ref_497612 = ref_333953 # MOV operation
ref_552147 = ref_497612 # MOV operation
ref_715781 = ref_552147 # MOV operation
ref_770313 = ref_715781 # MOV operation
ref_770351 = ref_770313 # MOV operation
ref_770363 = ref_770351 # MOV operation
ref_770365 = ref_770363 # MOV operation

print ref_770365 & 0xffffffffffffffff
