#!/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_6416 = ref_278 # MOV operation
ref_6616 = ref_6416 # MOV operation
ref_6624 = (ref_6616 >> (0x5 & 0x3F)) # SHR operation
ref_6631 = ref_6624 # MOV operation
ref_6727 = ref_6631 # MOV operation
ref_6741 = (0x1376783EF7559EA & ref_6727) # AND operation
ref_6850 = ref_6741 # MOV operation
ref_6852 = ((ref_6850 >> 56) & 0xFF) # Byte reference - MOV operation
ref_6853 = ((ref_6850 >> 48) & 0xFF) # Byte reference - MOV operation
ref_6854 = ((ref_6850 >> 40) & 0xFF) # Byte reference - MOV operation
ref_6855 = ((ref_6850 >> 32) & 0xFF) # Byte reference - MOV operation
ref_6856 = ((ref_6850 >> 24) & 0xFF) # Byte reference - MOV operation
ref_6857 = ((ref_6850 >> 16) & 0xFF) # Byte reference - MOV operation
ref_6858 = ((ref_6850 >> 8) & 0xFF) # Byte reference - MOV operation
ref_6859 = (ref_6850 & 0xFF) # Byte reference - MOV operation
ref_8505 = ref_278 # MOV operation
ref_8705 = ref_8505 # MOV operation
ref_8711 = (0x1A5612E2 | ref_8705) # OR operation
ref_9750 = ref_6850 # MOV operation
ref_9826 = ref_9750 # MOV operation
ref_9840 = (0x7063FB7 & ref_9826) # AND operation
ref_9949 = ref_8711 # MOV operation
ref_9953 = ref_9840 # MOV operation
ref_9955 = ((ref_9953 + ref_9949) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10065 = ref_9955 # MOV operation
ref_10067 = ((ref_10065 >> 56) & 0xFF) # Byte reference - MOV operation
ref_10068 = ((ref_10065 >> 48) & 0xFF) # Byte reference - MOV operation
ref_10069 = ((ref_10065 >> 40) & 0xFF) # Byte reference - MOV operation
ref_10070 = ((ref_10065 >> 32) & 0xFF) # Byte reference - MOV operation
ref_10071 = ((ref_10065 >> 24) & 0xFF) # Byte reference - MOV operation
ref_10072 = ((ref_10065 >> 16) & 0xFF) # Byte reference - MOV operation
ref_10073 = ((ref_10065 >> 8) & 0xFF) # Byte reference - MOV operation
ref_10074 = (ref_10065 & 0xFF) # Byte reference - MOV operation
ref_12037 = ref_10065 # MOV operation
ref_12237 = ref_12037 # MOV operation
ref_12245 = (ref_12237 >> (0x3 & 0x3F)) # SHR operation
ref_12252 = ref_12245 # MOV operation
ref_12348 = ref_12252 # MOV operation
ref_12362 = (0xF & ref_12348) # AND operation
ref_12587 = ref_12362 # MOV operation
ref_12593 = (0x1 | ref_12587) # OR operation
ref_12822 = ref_12593 # MOV operation
ref_12824 = ((0x3162E74F << ((ref_12822 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_13979 = ref_10065 # MOV operation
ref_14179 = ref_13979 # MOV operation
ref_14187 = (ref_14179 >> (0x3 & 0x3F)) # SHR operation
ref_14194 = ref_14187 # MOV operation
ref_14290 = ref_14194 # MOV operation
ref_14304 = (0xF & ref_14290) # AND operation
ref_14529 = ref_14304 # MOV operation
ref_14535 = (0x1 | ref_14529) # OR operation
ref_14764 = ref_14535 # MOV operation
ref_14766 = ((0x40 - ref_14764) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_14774 = ref_14766 # MOV operation
ref_14882 = ref_14774 # MOV operation
ref_14884 = (ref_14882 & 0xFFFFFFFF) # MOV operation
ref_14886 = (0x3162E74F >> ((ref_14884 & 0xFF) & 0x3F)) # SHR operation
ref_14893 = ref_14886 # MOV operation
ref_14997 = ref_12824 # MOV operation
ref_15001 = ref_14893 # MOV operation
ref_15003 = (ref_15001 | ref_14997) # OR operation
ref_15228 = ref_15003 # MOV operation
ref_15236 = (ref_15228 >> (0x4 & 0x3F)) # SHR operation
ref_15243 = ref_15236 # MOV operation
ref_15339 = ref_15243 # MOV operation
ref_15353 = (0x7 & ref_15339) # AND operation
ref_15578 = ref_15353 # MOV operation
ref_15584 = (0x1 | ref_15578) # OR operation
ref_16538 = ref_278 # MOV operation
ref_16614 = ref_16538 # MOV operation
ref_16628 = ((ref_16614 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_16636 = ref_16628 # MOV operation
ref_16732 = ref_16636 # MOV operation
ref_16744 = ref_15584 # MOV operation
ref_16746 = ((ref_16732 << ((ref_16744 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_16855 = ref_16746 # MOV operation
ref_18626 = ref_278 # MOV operation
ref_18702 = ref_18626 # MOV operation
ref_18716 = ((ref_18702 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_18724 = ref_18716 # MOV operation
ref_18828 = ref_18724 # MOV operation
ref_21553 = ref_18828 # MOV operation
ref_23003 = ref_10065 # MOV operation
ref_23079 = ref_23003 # MOV operation
ref_23093 = (0xF & ref_23079) # AND operation
ref_23194 = ref_23093 # MOV operation
ref_23208 = ((ref_23194 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_23317 = ref_21553 # MOV operation
ref_23321 = ref_23208 # MOV operation
ref_23323 = (ref_23321 | ref_23317) # OR operation
ref_23432 = ref_23323 # MOV operation
ref_25172 = ref_16855 # MOV operation
ref_26302 = ref_23432 # MOV operation
ref_26378 = ref_26302 # MOV operation
ref_26392 = (0x1F & ref_26378) # AND operation
ref_26493 = ref_26392 # MOV operation
ref_26507 = ((ref_26493 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_26616 = ref_25172 # MOV operation
ref_26620 = ref_26507 # MOV operation
ref_26622 = (ref_26620 | ref_26616) # OR operation
ref_26731 = ref_26622 # MOV operation
ref_28471 = ref_23432 # MOV operation
ref_29921 = ref_10065 # MOV operation
ref_29997 = ref_29921 # MOV operation
ref_30011 = (0xF & ref_29997) # AND operation
ref_30112 = ref_30011 # MOV operation
ref_30126 = ((ref_30112 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_30235 = ref_28471 # MOV operation
ref_30239 = ref_30126 # MOV operation
ref_30241 = (ref_30239 | ref_30235) # OR operation
ref_30350 = ref_30241 # MOV operation
ref_33395 = ref_30350 # MOV operation
ref_34845 = ref_30350 # MOV operation
ref_34921 = ref_34845 # MOV operation
ref_34935 = (0xF & ref_34921) # AND operation
ref_35036 = ref_34935 # MOV operation
ref_35050 = ((ref_35036 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_35159 = ref_33395 # MOV operation
ref_35163 = ref_35050 # MOV operation
ref_35165 = (ref_35163 | ref_35159) # OR operation
ref_35274 = ref_35165 # MOV operation
ref_37014 = ref_26731 # MOV operation
ref_38144 = ref_35274 # MOV operation
ref_38220 = ref_38144 # MOV operation
ref_38234 = (0x1F & ref_38220) # AND operation
ref_38335 = ref_38234 # MOV operation
ref_38349 = ((ref_38335 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38458 = ref_37014 # MOV operation
ref_38462 = ref_38349 # MOV operation
ref_38464 = (ref_38462 | ref_38458) # OR operation
ref_38573 = ref_38464 # MOV operation
ref_38575 = ((ref_38573 >> 56) & 0xFF) # Byte reference - MOV operation
ref_38576 = ((ref_38573 >> 48) & 0xFF) # Byte reference - MOV operation
ref_38577 = ((ref_38573 >> 40) & 0xFF) # Byte reference - MOV operation
ref_38578 = ((ref_38573 >> 32) & 0xFF) # Byte reference - MOV operation
ref_38579 = ((ref_38573 >> 24) & 0xFF) # Byte reference - MOV operation
ref_38580 = ((ref_38573 >> 16) & 0xFF) # Byte reference - MOV operation
ref_38581 = ((ref_38573 >> 8) & 0xFF) # Byte reference - MOV operation
ref_38582 = (ref_38573 & 0xFF) # Byte reference - MOV operation
ref_40313 = ref_35274 # MOV operation
ref_41763 = ref_35274 # MOV operation
ref_41839 = ref_41763 # MOV operation
ref_41853 = (0xF & ref_41839) # AND operation
ref_41954 = ref_41853 # MOV operation
ref_41968 = ((ref_41954 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_42077 = ref_40313 # MOV operation
ref_42081 = ref_41968 # MOV operation
ref_42083 = (ref_42081 | ref_42077) # OR operation
ref_42192 = ref_42083 # MOV operation
ref_50154 = ref_42192 # MOV operation
ref_51284 = ref_38573 # MOV operation
ref_52182 = ref_38573 # MOV operation
ref_52266 = ref_51284 # MOV operation
ref_52270 = ref_52182 # MOV operation
ref_52272 = ((ref_52270 + ref_52266) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_52374 = ref_52272 # MOV operation
ref_52388 = (0x7 & ref_52374) # AND operation
ref_52489 = ref_52388 # MOV operation
ref_52503 = ((ref_52489 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_52612 = ref_50154 # MOV operation
ref_52616 = ref_52503 # MOV operation
ref_52618 = (ref_52616 | ref_52612) # OR operation
ref_52727 = ref_52618 # MOV operation
ref_54251 = ((((ref_38575) << 8 | ref_38576) << 8 | ref_38577) << 8 | ref_38578) # MOV operation
ref_54459 = (ref_54251 & 0xFFFFFFFF) # MOV operation
ref_55979 = ((((ref_38579) << 8 | ref_38580) << 8 | ref_38581) << 8 | ref_38582) # MOV operation
ref_57487 = (ref_55979 & 0xFFFFFFFF) # MOV operation
ref_57489 = (((ref_57487 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_57490 = (((ref_57487 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_57491 = (((ref_57487 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_57492 = ((ref_57487 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_57707 = (ref_54459 & 0xFFFFFFFF) # MOV operation
ref_59215 = (ref_57707 & 0xFFFFFFFF) # MOV operation
ref_59217 = (((ref_59215 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_59218 = (((ref_59215 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_59219 = (((ref_59215 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_59220 = ((ref_59215 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_60863 = ref_6854 # MOVZX operation
ref_60939 = (ref_60863 & 0xFF) # MOVZX operation
ref_63883 = ref_6855 # MOVZX operation
ref_63959 = (ref_63883 & 0xFF) # MOVZX operation
ref_63961 = (ref_63959 & 0xFF) # Byte reference - MOV operation
ref_65603 = (ref_60939 & 0xFF) # MOVZX operation
ref_65679 = (ref_65603 & 0xFF) # MOVZX operation
ref_65681 = (ref_65679 & 0xFF) # Byte reference - MOV operation
ref_67323 = ref_6853 # MOVZX operation
ref_67399 = (ref_67323 & 0xFF) # MOVZX operation
ref_70343 = ref_6859 # MOVZX operation
ref_70419 = (ref_70343 & 0xFF) # MOVZX operation
ref_70421 = (ref_70419 & 0xFF) # Byte reference - MOV operation
ref_72063 = (ref_67399 & 0xFF) # MOVZX operation
ref_72139 = (ref_72063 & 0xFF) # MOVZX operation
ref_72141 = (ref_72139 & 0xFF) # Byte reference - MOV operation
ref_73655 = ((((ref_10071) << 8 | ref_10072) << 8 | ref_10073) << 8 | ref_10074) # MOV operation
ref_73863 = (ref_73655 & 0xFFFFFFFF) # MOV operation
ref_75383 = ((((ref_10067) << 8 | ref_10068) << 8 | ref_10069) << 8 | ref_10070) # MOV operation
ref_76891 = (ref_75383 & 0xFFFFFFFF) # MOV operation
ref_76893 = (((ref_76891 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_76894 = (((ref_76891 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_76895 = (((ref_76891 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_76896 = ((ref_76891 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_77111 = (ref_73863 & 0xFFFFFFFF) # MOV operation
ref_78619 = (ref_77111 & 0xFFFFFFFF) # MOV operation
ref_78621 = (((ref_78619 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_78622 = (((ref_78619 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_78623 = (((ref_78619 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_78624 = ((ref_78619 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_81600 = ((((((((ref_78621) << 8 | ref_78622) << 8 | ref_78623) << 8 | ref_78624) << 8 | ref_76893) << 8 | ref_76894) << 8 | ref_76895) << 8 | ref_76896) # MOV operation
ref_83050 = ((((((((ref_6852) << 8 | ref_70421) << 8 | ref_63961) << 8 | ref_65681) << 8 | ref_6856) << 8 | ref_6857) << 8 | ref_6858) << 8 | ref_72141) # MOV operation
ref_83126 = ref_83050 # MOV operation
ref_83140 = (0x3F & ref_83126) # AND operation
ref_83241 = ref_83140 # MOV operation
ref_83255 = ((ref_83241 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_83364 = ref_81600 # MOV operation
ref_83368 = ref_83255 # MOV operation
ref_83370 = (ref_83368 | ref_83364) # OR operation
ref_83479 = ref_83370 # MOV operation
ref_86685 = ((((((((ref_57489) << 8 | ref_57490) << 8 | ref_57491) << 8 | ref_57492) << 8 | ref_59217) << 8 | ref_59218) << 8 | ref_59219) << 8 | ref_59220) # MOV operation
ref_87815 = ref_52727 # MOV operation
ref_88829 = ref_83479 # MOV operation
ref_89029 = ref_88829 # MOV operation
ref_89037 = (ref_89029 >> (0x3 & 0x3F)) # SHR operation
ref_89044 = ref_89037 # MOV operation
ref_89140 = ref_89044 # MOV operation
ref_89154 = (0xF & ref_89140) # AND operation
ref_89379 = ref_89154 # MOV operation
ref_89385 = (0x1 | ref_89379) # OR operation
ref_89494 = ref_87815 # MOV operation
ref_89498 = ref_89385 # MOV operation
ref_89500 = (ref_89498 & 0xFFFFFFFF) # MOV operation
ref_89502 = (ref_89494 >> ((ref_89500 & 0xFF) & 0x3F)) # SHR operation
ref_89509 = ref_89502 # MOV operation
ref_90543 = ref_83479 # MOV operation
ref_90743 = ref_90543 # MOV operation
ref_90751 = (ref_90743 >> (0x3 & 0x3F)) # SHR operation
ref_90758 = ref_90751 # MOV operation
ref_90854 = ref_90758 # MOV operation
ref_90868 = (0xF & ref_90854) # AND operation
ref_91093 = ref_90868 # MOV operation
ref_91099 = (0x1 | ref_91093) # OR operation
ref_91328 = ref_91099 # MOV operation
ref_91330 = ((0x40 - ref_91328) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_91338 = ref_91330 # MOV operation
ref_92256 = ref_52727 # MOV operation
ref_92332 = ref_92256 # MOV operation
ref_92344 = ref_91338 # MOV operation
ref_92346 = ((ref_92332 << ((ref_92344 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_92455 = ref_89509 # MOV operation
ref_92459 = ref_92346 # MOV operation
ref_92461 = (ref_92459 | ref_92455) # OR operation
ref_92562 = ref_92461 # MOV operation
ref_92576 = (0xF & ref_92562) # AND operation
ref_92677 = ref_92576 # MOV operation
ref_92691 = ((ref_92677 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_92800 = ref_86685 # MOV operation
ref_92804 = ref_92691 # MOV operation
ref_92806 = (ref_92804 | ref_92800) # OR operation
ref_92915 = ref_92806 # MOV operation
ref_94695 = ref_83479 # MOV operation
ref_94895 = ref_94695 # MOV operation
ref_94903 = (ref_94895 >> (0x3 & 0x3F)) # SHR operation
ref_94910 = ref_94903 # MOV operation
ref_95006 = ref_94910 # MOV operation
ref_95020 = (0x7 & ref_95006) # AND operation
ref_95245 = ref_95020 # MOV operation
ref_95251 = (0x1 | ref_95245) # OR operation
ref_96174 = ((((((((ref_6852) << 8 | ref_70421) << 8 | ref_63961) << 8 | ref_65681) << 8 | ref_6856) << 8 | ref_6857) << 8 | ref_6858) << 8 | ref_72141) # MOV operation
ref_96250 = ref_96174 # MOV operation
ref_96262 = ref_95251 # MOV operation
ref_96264 = ((ref_96250 << ((ref_96262 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_97187 = ref_92915 # MOV operation
ref_98085 = ref_52727 # MOV operation
ref_98169 = ref_97187 # MOV operation
ref_98173 = ref_98085 # MOV operation
ref_98175 = (ref_98173 | ref_98169) # OR operation
ref_98284 = ref_96264 # MOV operation
ref_98288 = ref_98175 # MOV operation
ref_98290 = (ref_98288 | ref_98284) # OR operation
ref_98399 = ref_98290 # MOV operation
ref_98610 = ref_98399 # MOV operation
ref_98612 = ref_98610 # MOV operation

print ref_98612 & 0xffffffffffffffff
