#!/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_7549 = ref_239 # MOV operation
ref_7553 = ((0xDEADBEEFDEADBEEF + ref_7549) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7660 = ref_7553 # MOV operation
ref_7662 = (0xE6ADBEEFDEADBEEF ^ ref_7660) # XOR operation
ref_7683 = ref_7553 # MOV operation
ref_7687 = ref_7683 # MOV operation
ref_7731 = ref_7687 # MOV operation
ref_7735 = rol(0xF, ref_7731) # ROL operation
ref_7739 = ref_7735 # MOV operation
ref_7746 = ref_7739 # MOV operation
ref_7762 = ref_7662 # MOV operation
ref_7766 = ref_7746 # MOV operation
ref_7768 = ((ref_7762 + ref_7766) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7794 = ref_7768 # MOV operation
ref_7796 = (0x1234 ^ ref_7794) # XOR operation
ref_7817 = ref_7768 # MOV operation
ref_7821 = ref_7817 # MOV operation
ref_7865 = ref_7821 # MOV operation
ref_7869 = rol(0x34, ref_7865) # ROL operation
ref_7873 = ref_7869 # MOV operation
ref_7880 = ref_7873 # MOV operation
ref_7896 = ref_7796 # MOV operation
ref_7900 = ref_7880 # MOV operation
ref_7902 = ((ref_7896 + ref_7900) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7928 = ref_7902 # MOV operation
ref_7930 = (0x1234 ^ ref_7928) # XOR operation
ref_7951 = ref_7902 # MOV operation
ref_7955 = ref_7951 # MOV operation
ref_7999 = ref_7955 # MOV operation
ref_8003 = rol(0x1A, ref_7999) # ROL operation
ref_8007 = ref_8003 # MOV operation
ref_8014 = ref_8007 # MOV operation
ref_8030 = ref_7930 # MOV operation
ref_8034 = ref_8014 # MOV operation
ref_8036 = ((ref_8030 + ref_8034) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8058 = ref_7746 # MOV operation
ref_8062 = ref_8036 # MOV operation
ref_8064 = (ref_8058 ^ ref_8062) # XOR operation
ref_8085 = ref_8036 # MOV operation
ref_8089 = ref_8085 # MOV operation
ref_8133 = ref_8089 # MOV operation
ref_8137 = rol(0x33, ref_8133) # ROL operation
ref_8141 = ref_8137 # MOV operation
ref_8148 = ref_8141 # MOV operation
ref_8164 = ref_8064 # MOV operation
ref_8168 = ref_8148 # MOV operation
ref_8170 = ((ref_8164 + ref_8168) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8192 = ref_7880 # MOV operation
ref_8196 = ref_8170 # MOV operation
ref_8198 = (ref_8192 ^ ref_8196) # XOR operation
ref_8219 = ref_8170 # MOV operation
ref_8223 = ref_8219 # MOV operation
ref_8267 = ref_8223 # MOV operation
ref_8271 = rol(0x1C, ref_8267) # ROL operation
ref_8275 = ref_8271 # MOV operation
ref_8282 = ref_8275 # MOV operation
ref_8298 = ref_8198 # MOV operation
ref_8302 = ref_8282 # MOV operation
ref_8304 = ((ref_8298 + ref_8302) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8326 = ref_8014 # MOV operation
ref_8330 = ref_8304 # MOV operation
ref_8332 = (ref_8326 ^ ref_8330) # XOR operation
ref_8353 = ref_8304 # MOV operation
ref_8357 = ref_8353 # MOV operation
ref_8401 = ref_8357 # MOV operation
ref_8405 = rol(0x9, ref_8401) # ROL operation
ref_8409 = ref_8405 # MOV operation
ref_8416 = ref_8409 # MOV operation
ref_8432 = ref_8332 # MOV operation
ref_8436 = ref_8416 # MOV operation
ref_8438 = ((ref_8432 + ref_8436) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8460 = ref_8148 # MOV operation
ref_8464 = ref_8438 # MOV operation
ref_8466 = (ref_8460 ^ ref_8464) # XOR operation
ref_8487 = ref_8438 # MOV operation
ref_8491 = ref_8487 # MOV operation
ref_8535 = ref_8491 # MOV operation
ref_8539 = rol(0x2F, ref_8535) # ROL operation
ref_8543 = ref_8539 # MOV operation
ref_8550 = ref_8543 # MOV operation
ref_8566 = ref_8466 # MOV operation
ref_8570 = ref_8550 # MOV operation
ref_8572 = ((ref_8566 + ref_8570) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8594 = ref_8282 # MOV operation
ref_8598 = ref_8572 # MOV operation
ref_8600 = (ref_8594 ^ ref_8598) # XOR operation
ref_8621 = ref_8572 # MOV operation
ref_8625 = ref_8621 # MOV operation
ref_8669 = ref_8625 # MOV operation
ref_8673 = rol(0x36, ref_8669) # ROL operation
ref_8677 = ref_8673 # MOV operation
ref_8684 = ref_8677 # MOV operation
ref_8700 = ref_8600 # MOV operation
ref_8704 = ref_8684 # MOV operation
ref_8706 = ((ref_8700 + ref_8704) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8728 = ref_8416 # MOV operation
ref_8732 = ref_8706 # MOV operation
ref_8734 = (ref_8728 ^ ref_8732) # XOR operation
ref_8755 = ref_8706 # MOV operation
ref_8759 = ref_8755 # MOV operation
ref_8803 = ref_8759 # MOV operation
ref_8807 = rol(0x20, ref_8803) # ROL operation
ref_8811 = ref_8807 # MOV operation
ref_8818 = ref_8811 # MOV operation
ref_8834 = ref_8734 # MOV operation
ref_8838 = ref_8818 # MOV operation
ref_8840 = ((ref_8834 + ref_8838) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8862 = ref_8550 # MOV operation
ref_8866 = ref_8840 # MOV operation
ref_8868 = (ref_8862 ^ ref_8866) # XOR operation
ref_8889 = ref_8840 # MOV operation
ref_8893 = ref_8889 # MOV operation
ref_8937 = ref_8893 # MOV operation
ref_8941 = rol(0x19, ref_8937) # ROL operation
ref_8945 = ref_8941 # MOV operation
ref_8952 = ref_8945 # MOV operation
ref_8968 = ref_8868 # MOV operation
ref_8972 = ref_8952 # MOV operation
ref_8974 = ((ref_8968 + ref_8972) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_9023 = ref_8974 # MOV operation
ref_9027 = ref_9023 # MOV operation
ref_9071 = ref_9027 # MOV operation
ref_9075 = rol(0x3F, ref_9071) # ROL operation
ref_9079 = ref_9075 # MOV operation
ref_9086 = ref_9079 # MOV operation
ref_9135 = ref_9086 # MOV operation
ref_9197 = ref_9135 # MOV operation
ref_9548 = ref_9197 # MOV operation
ref_9647 = ref_9548 # MOV operation
ref_9973 = ref_9647 # MOV operation
ref_10069 = ref_9973 # MOV operation
ref_10107 = ref_10069 # MOV operation
ref_10119 = ref_10107 # MOV operation
ref_10121 = ref_10119 # MOV operation

print ref_10121 & 0xffffffffffffffff
