#!/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_228 = SymVar_0
ref_243 = ref_228 # MOV operation
ref_2444 = ref_243 # MOV operation
ref_2478 = ref_2444 # MOV operation
ref_2747 = ref_2478 # MOV operation
ref_2767 = (ref_2747 >> (0x7 & 0x3F)) # SHR operation
ref_2804 = ref_2767 # MOV operation
ref_3984 = ref_243 # MOV operation
ref_4016 = ref_3984 # MOV operation
ref_4433 = ref_4016 # MOV operation
ref_4449 = ((ref_4433 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_4482 = ref_2804 # MOV operation
ref_4498 = ref_4449 # MOV operation
ref_4500 = (ref_4498 | ref_4482) # OR operation
ref_4539 = ref_4500 # MOV operation
ref_4769 = ref_4539 # MOV operation
ref_6675 = ref_243 # MOV operation
ref_6893 = ref_6675 # MOV operation
ref_6979 = ref_6893 # MOV operation
ref_6985 = ref_6979 # MOV operation
ref_6989 = (ref_6985 >> (0xB & 0x3F)) # SHR operation
ref_6996 = ref_6989 # MOV operation
ref_8321 = ref_243 # MOV operation
ref_8353 = ref_8321 # MOV operation
ref_8570 = ref_8353 # MOV operation
ref_8584 = ref_8570 # MOV operation
ref_8588 = ((ref_8584 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_8595 = ref_8588 # MOV operation
ref_8621 = ref_8595 # MOV operation
ref_8649 = ref_6996 # MOV operation
ref_8665 = ref_8621 # MOV operation
ref_8667 = (ref_8665 | ref_8649) # OR operation
ref_8706 = ref_8667 # MOV operation
ref_9862 = ref_4769 # MOV operation
ref_10093 = ref_9862 # MOV operation
ref_10135 = ref_10093 # MOV operation
ref_10137 = ((ref_10135 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10177 = ref_10137 # MOV operation
ref_10449 = ref_10177 # MOV operation
ref_10451 = (ref_10449 & 0x1D5ABF66) # AND operation
ref_10494 = ref_8706 # MOV operation
ref_10506 = ref_10451 # MOV operation
ref_10508 = ((ref_10494 - ref_10506) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_10546 = ref_10508 # MOV operation
ref_11698 = ref_243 # MOV operation
ref_12057 = ref_11698 # MOV operation
ref_12153 = ref_12057 # MOV operation
ref_12159 = ((ref_12153 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_12195 = ref_12159 # MOV operation
ref_13406 = ref_12195 # MOV operation
ref_14774 = ref_243 # MOV operation
ref_15125 = ref_14774 # MOV operation
ref_16338 = ref_4769 # MOV operation
ref_16412 = ref_16338 # MOV operation
ref_16430 = ((0x20453EE3 + ref_16412) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_16474 = ref_15125 # MOV operation
ref_16478 = ref_16430 # MOV operation
ref_16480 = ((ref_16474 - ref_16478) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_16848 = ref_16480 # MOV operation
ref_17948 = ref_16848 # MOV operation
ref_20367 = ref_4769 # MOV operation
ref_21632 = ref_4769 # MOV operation
ref_21830 = ref_21632 # MOV operation
ref_22834 = ref_13406 # MOV operation
ref_22868 = ref_22834 # MOV operation
ref_23221 = ref_22868 # MOV operation
ref_23237 = ref_21830 # MOV operation
ref_23239 = (ref_23221 | ref_23237) # OR operation
ref_23276 = ref_23239 # MOV operation
ref_23294 = (0x3F & ref_23276) # AND operation
ref_23323 = ref_23294 # MOV operation
ref_23329 = ref_23323 # MOV operation
ref_23333 = ((ref_23329 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_23340 = ref_23333 # MOV operation
ref_23366 = ref_23340 # MOV operation
ref_23394 = ref_20367 # MOV operation
ref_23410 = ref_23366 # MOV operation
ref_23412 = (ref_23410 | ref_23394) # OR operation
ref_24699 = ref_23412 # MOV operation
ref_26347 = ref_24699 # MOV operation
ref_26415 = ref_26347 # MOV operation
ref_26435 = (ref_26415 >> (0x1 & 0x3F)) # SHR operation
ref_26470 = ref_26435 # MOV operation
ref_26488 = (0xF & ref_26470) # AND operation
ref_26877 = ref_26488 # MOV operation
ref_26895 = (0x1 | ref_26877) # OR operation
ref_26942 = ref_26895 # MOV operation
ref_26944 = ((0x40 - ref_26942) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_26980 = ref_26944 # MOV operation
ref_28197 = ref_10546 # MOV operation
ref_28221 = ref_28197 # MOV operation
ref_28225 = ref_26980 # MOV operation
ref_28227 = ref_28221 # MOV operation
ref_28229 = (ref_28225 & 0xFFFFFFFF) # MOV operation
ref_28231 = ((ref_28227 << ((ref_28229 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_28238 = ref_28231 # MOV operation
ref_28264 = ref_28238 # MOV operation
ref_29176 = ref_10546 # MOV operation
ref_30456 = ref_24699 # MOV operation
ref_30784 = ref_30456 # MOV operation
ref_30830 = ref_30784 # MOV operation
ref_30836 = ref_30830 # MOV operation
ref_30840 = (ref_30836 >> (0x1 & 0x3F)) # SHR operation
ref_30847 = ref_30840 # MOV operation
ref_30873 = ref_30847 # MOV operation
ref_30903 = ref_30873 # MOV operation
ref_30921 = (0xF & ref_30903) # AND operation
ref_31150 = ref_30921 # MOV operation
ref_31168 = (0x1 | ref_31150) # OR operation
ref_31199 = ref_31168 # MOV operation
ref_31239 = ref_29176 # MOV operation
ref_31255 = ref_31199 # MOV operation
ref_31257 = (ref_31255 & 0xFFFFFFFF) # MOV operation
ref_31259 = (ref_31239 >> ((ref_31257 & 0xFF) & 0x3F)) # SHR operation
ref_31304 = ref_31259 # MOV operation
ref_31320 = ref_28264 # MOV operation
ref_31322 = (ref_31304 | ref_31320) # OR operation
ref_31675 = ref_31322 # MOV operation
ref_32945 = ref_31675 # MOV operation
ref_35083 = ref_32945 # MOV operation
ref_35281 = ref_35083 # MOV operation
ref_36025 = ref_17948 # MOV operation
ref_36057 = ref_36025 # MOV operation
ref_36095 = ref_35281 # MOV operation
ref_36107 = ref_36057 # MOV operation
ref_36109 = ((ref_36095 - ref_36107) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_36147 = ref_36109 # MOV operation
ref_41215 = ref_10546 # MOV operation
ref_41241 = ref_41215 # MOV operation
ref_41271 = ref_41241 # MOV operation
ref_41289 = (0xF & ref_41271) # AND operation
ref_41642 = ref_41289 # MOV operation
ref_41660 = (0x1 | ref_41642) # OR operation
ref_41695 = ref_41660 # MOV operation
ref_41699 = ((0x40 - ref_41695) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_41707 = ref_41699 # MOV operation
ref_42574 = ref_24699 # MOV operation
ref_42934 = ref_42574 # MOV operation
ref_42946 = ref_41707 # MOV operation
ref_42948 = ref_42934 # MOV operation
ref_42950 = (ref_42946 & 0xFFFFFFFF) # MOV operation
ref_42952 = ((ref_42948 << ((ref_42950 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_42959 = ref_42952 # MOV operation
ref_42985 = ref_42959 # MOV operation
ref_44004 = ref_24699 # MOV operation
ref_44030 = ref_44004 # MOV operation
ref_45458 = ref_10546 # MOV operation
ref_45492 = ref_45458 # MOV operation
ref_45829 = ref_45492 # MOV operation
ref_45847 = (0xF & ref_45829) # AND operation
ref_45886 = ref_45847 # MOV operation
ref_46232 = ref_45886 # MOV operation
ref_46250 = (ref_46232 | 0x1) # OR operation
ref_46465 = ref_46250 # MOV operation
ref_46823 = ref_44030 # MOV operation
ref_46827 = ref_46465 # MOV operation
ref_46829 = ref_46823 # MOV operation
ref_46831 = (ref_46827 & 0xFFFFFFFF) # MOV operation
ref_46833 = (ref_46829 >> ((ref_46831 & 0xFF) & 0x3F)) # SHR operation
ref_46840 = ref_46833 # MOV operation
ref_47169 = ref_46840 # MOV operation
ref_47535 = ref_47169 # MOV operation
ref_47551 = ref_42985 # MOV operation
ref_47553 = (ref_47535 | ref_47551) # OR operation
ref_47768 = ref_47553 # MOV operation
ref_50679 = ref_17948 # MOV operation
ref_52331 = ref_36147 # MOV operation
ref_52365 = ref_52331 # MOV operation
ref_52711 = ref_52365 # MOV operation
ref_52727 = ref_50679 # MOV operation
ref_52729 = (ref_52711 | ref_52727) # OR operation
ref_53329 = ref_52729 # MOV operation
ref_53341 = (ref_53329 >> (0x1 & 0x3F)) # SHR operation
ref_53550 = ref_53341 # MOV operation
ref_53568 = (0x7 & ref_53550) # AND operation
ref_53807 = ref_53568 # MOV operation
ref_53825 = (0x1 | ref_53807) # OR operation
ref_54036 = ref_47768 # MOV operation
ref_54040 = ref_53825 # MOV operation
ref_54042 = (ref_54040 & 0xFFFFFFFF) # MOV operation
ref_54044 = ((ref_54036 << ((ref_54042 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_54271 = ref_54044 # MOV operation
ref_54569 = ref_54271 # MOV operation
ref_54571 = ref_54569 # MOV operation

print ref_54571 & 0xffffffffffffffff
