#!/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_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_6888 = ref_278 # MOV operation
ref_7105 = ref_6888 # MOV operation
ref_7123 = (ref_7105 >> (0x7 & 0x3F)) # SHR operation
ref_7130 = ref_7123 # MOV operation
ref_9184 = ref_278 # MOV operation
ref_9668 = ref_9184 # MOV operation
ref_9678 = ((ref_9668 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_9685 = ref_9678 # MOV operation
ref_9958 = ref_7130 # MOV operation
ref_9964 = ref_9685 # MOV operation
ref_9966 = (ref_9964 | ref_9958) # OR operation
ref_12043 = ref_9966 # MOV operation
ref_14303 = ref_278 # MOV operation
ref_14536 = ref_14303 # MOV operation
ref_14554 = (ref_14536 >> (0xB & 0x3F)) # SHR operation
ref_14561 = ref_14554 # MOV operation
ref_16574 = ref_278 # MOV operation
ref_17071 = ref_16574 # MOV operation
ref_17081 = ((ref_17071 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_17088 = ref_17081 # MOV operation
ref_17337 = ref_14561 # MOV operation
ref_17343 = ref_17088 # MOV operation
ref_17345 = (ref_17343 | ref_17337) # OR operation
ref_19703 = ref_12043 # MOV operation
ref_19950 = ref_19703 # MOV operation
ref_19952 = ((ref_19950 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_20486 = ref_19952 # MOV operation
ref_20488 = (ref_20486 & 0x1D5ABF66) # AND operation
ref_20749 = ref_17345 # MOV operation
ref_20755 = ref_20488 # MOV operation
ref_20757 = ((ref_20749 - ref_20755) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_20765 = ref_20757 # MOV operation
ref_22851 = ref_20765 # MOV operation
ref_24902 = ref_278 # MOV operation
ref_25392 = ref_24902 # MOV operation
ref_25400 = ((ref_25392 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_25408 = ref_25400 # MOV operation
ref_27529 = ref_25408 # MOV operation
ref_29521 = ref_278 # MOV operation
ref_31625 = ref_12043 # MOV operation
ref_32083 = ref_31625 # MOV operation
ref_32091 = ((0x20453EE3 + ref_32083) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_32355 = ref_29521 # MOV operation
ref_32361 = ref_32091 # MOV operation
ref_32363 = ((ref_32355 - ref_32361) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_32371 = ref_32363 # MOV operation
ref_34516 = ref_32371 # MOV operation
ref_39200 = ref_12043 # MOV operation
ref_42281 = ref_27529 # MOV operation
ref_44611 = ref_12043 # MOV operation
ref_44810 = ref_42281 # MOV operation
ref_44816 = ref_44611 # MOV operation
ref_44818 = (ref_44816 | ref_44810) # OR operation
ref_45071 = ref_44818 # MOV operation
ref_45087 = (0x3F & ref_45071) # AND operation
ref_45632 = ref_45087 # MOV operation
ref_45642 = ((ref_45632 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_45649 = ref_45642 # MOV operation
ref_45866 = ref_39200 # MOV operation
ref_45872 = ref_45649 # MOV operation
ref_45874 = (ref_45872 | ref_45866) # OR operation
ref_48233 = ref_45874 # MOV operation
ref_51120 = ref_48233 # MOV operation
ref_51347 = ref_51120 # MOV operation
ref_51365 = (ref_51347 >> (0x1 & 0x3F)) # SHR operation
ref_51372 = ref_51365 # MOV operation
ref_51617 = ref_51372 # MOV operation
ref_51633 = (0xF & ref_51617) # AND operation
ref_52146 = ref_51633 # MOV operation
ref_52154 = (0x1 | ref_52146) # OR operation
ref_54272 = ref_22851 # MOV operation
ref_54463 = ref_54272 # MOV operation
ref_54477 = ref_52154 # MOV operation
ref_54479 = (ref_54477 & 0xFFFFFFFF) # MOV operation
ref_54481 = (ref_54463 >> ((ref_54479 & 0xFF) & 0x3F)) # SHR operation
ref_54488 = ref_54481 # MOV operation
ref_56603 = ref_22851 # MOV operation
ref_59706 = ref_48233 # MOV operation
ref_59939 = ref_59706 # MOV operation
ref_59957 = (ref_59939 >> (0x1 & 0x3F)) # SHR operation
ref_59964 = ref_59957 # MOV operation
ref_60213 = ref_59964 # MOV operation
ref_60229 = (0xF & ref_60213) # AND operation
ref_60754 = ref_60229 # MOV operation
ref_60762 = (0x1 | ref_60754) # OR operation
ref_61026 = ref_60762 # MOV operation
ref_61028 = ((0x40 - ref_61026) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_61036 = ref_61028 # MOV operation
ref_61292 = ref_56603 # MOV operation
ref_61298 = ref_61036 # MOV operation
ref_61300 = (ref_61298 & 0xFFFFFFFF) # MOV operation
ref_61302 = ((ref_61292 << ((ref_61300 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_61309 = ref_61302 # MOV operation
ref_61566 = ref_54488 # MOV operation
ref_61572 = ref_61309 # MOV operation
ref_61574 = (ref_61572 | ref_61566) # OR operation
ref_64415 = ref_61574 # MOV operation
ref_67272 = ref_64415 # MOV operation
ref_69355 = ref_34516 # MOV operation
ref_69602 = ref_67272 # MOV operation
ref_69608 = ref_69355 # MOV operation
ref_69610 = ((ref_69602 - ref_69608) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_69618 = ref_69610 # MOV operation
ref_71717 = ref_69618 # MOV operation
ref_77560 = ref_22851 # MOV operation
ref_77799 = ref_77560 # MOV operation
ref_77815 = (0xF & ref_77799) # AND operation
ref_78290 = ref_77815 # MOV operation
ref_78298 = (0x1 | ref_78290) # OR operation
ref_80404 = ref_48233 # MOV operation
ref_80623 = ref_80404 # MOV operation
ref_80637 = ref_78298 # MOV operation
ref_80639 = (ref_80637 & 0xFFFFFFFF) # MOV operation
ref_80641 = (ref_80623 >> ((ref_80639 & 0xFF) & 0x3F)) # SHR operation
ref_80648 = ref_80641 # MOV operation
ref_82682 = ref_48233 # MOV operation
ref_85240 = ref_22851 # MOV operation
ref_85479 = ref_85240 # MOV operation
ref_85495 = (0xF & ref_85479) # AND operation
ref_86018 = ref_85495 # MOV operation
ref_86026 = (0x1 | ref_86018) # OR operation
ref_86302 = ref_86026 # MOV operation
ref_86304 = ((0x40 - ref_86302) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_86312 = ref_86304 # MOV operation
ref_86555 = ref_82682 # MOV operation
ref_86561 = ref_86312 # MOV operation
ref_86563 = (ref_86561 & 0xFFFFFFFF) # MOV operation
ref_86565 = ((ref_86555 << ((ref_86563 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_86572 = ref_86565 # MOV operation
ref_86837 = ref_80648 # MOV operation
ref_86843 = ref_86572 # MOV operation
ref_86845 = (ref_86843 | ref_86837) # OR operation
ref_89437 = ref_71717 # MOV operation
ref_91487 = ref_34516 # MOV operation
ref_91712 = ref_89437 # MOV operation
ref_91718 = ref_91487 # MOV operation
ref_91720 = (ref_91718 | ref_91712) # OR operation
ref_91944 = ref_91720 # MOV operation
ref_91962 = (ref_91944 >> (0x1 & 0x3F)) # SHR operation
ref_91969 = ref_91962 # MOV operation
ref_92226 = ref_91969 # MOV operation
ref_92242 = (0x7 & ref_92226) # AND operation
ref_92723 = ref_92242 # MOV operation
ref_92731 = (0x1 | ref_92723) # OR operation
ref_92999 = ref_86845 # MOV operation
ref_93005 = ref_92731 # MOV operation
ref_93007 = (ref_93005 & 0xFFFFFFFF) # MOV operation
ref_93009 = ((ref_92999 << ((ref_93007 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_93016 = ref_93009 # MOV operation
ref_95022 = ref_93016 # MOV operation
ref_95568 = ref_95022 # MOV operation
ref_95570 = ref_95568 # MOV operation

print ref_95570 & 0xffffffffffffffff
