#!/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_6492 = ref_6416 # MOV operation
ref_6506 = (ref_6492 >> (0x5 & 0x3F)) # SHR operation
ref_6731 = ref_6506 # MOV operation
ref_6737 = (0x1376783EF7559EA & ref_6731) # AND operation
ref_6846 = ref_6737 # MOV operation
ref_6848 = ((ref_6846 >> 56) & 0xFF) # Byte reference - MOV operation
ref_6849 = ((ref_6846 >> 48) & 0xFF) # Byte reference - MOV operation
ref_6850 = ((ref_6846 >> 40) & 0xFF) # Byte reference - MOV operation
ref_6851 = ((ref_6846 >> 32) & 0xFF) # Byte reference - MOV operation
ref_6852 = ((ref_6846 >> 24) & 0xFF) # Byte reference - MOV operation
ref_6853 = ((ref_6846 >> 16) & 0xFF) # Byte reference - MOV operation
ref_6854 = ((ref_6846 >> 8) & 0xFF) # Byte reference - MOV operation
ref_6855 = (ref_6846 & 0xFF) # Byte reference - MOV operation
ref_7795 = ref_278 # MOV operation
ref_7871 = ref_7795 # MOV operation
ref_7885 = (0x1A5612E2 | ref_7871) # OR operation
ref_8924 = ref_6846 # MOV operation
ref_9000 = ref_8924 # MOV operation
ref_9014 = (0x7063FB7 & ref_9000) # AND operation
ref_9123 = ref_7885 # MOV operation
ref_9127 = ref_9014 # MOV operation
ref_9129 = ((ref_9127 + ref_9123) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10061 = ref_9129 # MOV operation
ref_10063 = ((ref_10061 >> 56) & 0xFF) # Byte reference - MOV operation
ref_10064 = ((ref_10061 >> 48) & 0xFF) # Byte reference - MOV operation
ref_10065 = ((ref_10061 >> 40) & 0xFF) # Byte reference - MOV operation
ref_10066 = ((ref_10061 >> 32) & 0xFF) # Byte reference - MOV operation
ref_10067 = ((ref_10061 >> 24) & 0xFF) # Byte reference - MOV operation
ref_10068 = ((ref_10061 >> 16) & 0xFF) # Byte reference - MOV operation
ref_10069 = ((ref_10061 >> 8) & 0xFF) # Byte reference - MOV operation
ref_10070 = (ref_10061 & 0xFF) # Byte reference - MOV operation
ref_11010 = ref_278 # MOV operation
ref_11086 = ref_11010 # MOV operation
ref_11100 = ((ref_11086 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_11108 = ref_11100 # MOV operation
ref_12374 = ref_10061 # MOV operation
ref_12574 = ref_12374 # MOV operation
ref_12582 = (ref_12574 >> (0x3 & 0x3F)) # SHR operation
ref_12589 = ref_12582 # MOV operation
ref_12685 = ref_12589 # MOV operation
ref_12699 = (0xF & ref_12685) # AND operation
ref_12924 = ref_12699 # MOV operation
ref_12930 = (0x1 | ref_12924) # OR operation
ref_13159 = ref_12930 # MOV operation
ref_13161 = ((0x40 - ref_13159) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_13169 = ref_13161 # MOV operation
ref_13393 = ref_13169 # MOV operation
ref_13395 = (0x3162E74F >> ((ref_13393 & 0xFF) & 0x3F)) # SHR operation
ref_14666 = ref_10061 # MOV operation
ref_14742 = ref_14666 # MOV operation
ref_14756 = (ref_14742 >> (0x3 & 0x3F)) # SHR operation
ref_14981 = ref_14756 # MOV operation
ref_14987 = (0xF & ref_14981) # AND operation
ref_15088 = ref_14987 # MOV operation
ref_15102 = (0x1 | ref_15088) # OR operation
ref_15215 = ref_15102 # MOV operation
ref_15217 = (ref_15215 & 0xFFFFFFFF) # MOV operation
ref_15219 = ((0x3162E74F << ((ref_15217 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_15226 = ref_15219 # MOV operation
ref_15322 = ref_15226 # MOV operation
ref_15334 = ref_13395 # MOV operation
ref_15336 = (ref_15334 | ref_15322) # OR operation
ref_15437 = ref_15336 # MOV operation
ref_15451 = (ref_15437 >> (0x4 & 0x3F)) # SHR operation
ref_15552 = ref_15451 # MOV operation
ref_15566 = (0x7 & ref_15552) # AND operation
ref_15791 = ref_15566 # MOV operation
ref_15797 = (0x1 | ref_15791) # OR operation
ref_15906 = ref_11108 # MOV operation
ref_15910 = ref_15797 # MOV operation
ref_15912 = (ref_15910 & 0xFFFFFFFF) # MOV operation
ref_15914 = ((ref_15906 << ((ref_15912 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_15921 = ref_15914 # MOV operation
ref_16847 = ref_15921 # MOV operation
ref_17796 = ref_278 # MOV operation
ref_17872 = ref_17796 # MOV operation
ref_17886 = ((ref_17872 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_17894 = ref_17886 # MOV operation
ref_18820 = ref_17894 # MOV operation
ref_21159 = ref_10061 # MOV operation
ref_21359 = ref_21159 # MOV operation
ref_21365 = (0xF & ref_21359) # AND operation
ref_21466 = ref_21365 # MOV operation
ref_21480 = ((ref_21466 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_22403 = ref_18820 # MOV operation
ref_22479 = ref_22403 # MOV operation
ref_22491 = ref_21480 # MOV operation
ref_22493 = (ref_22491 | ref_22479) # OR operation
ref_23424 = ref_22493 # MOV operation
ref_25164 = ref_16847 # MOV operation
ref_26062 = ref_23424 # MOV operation
ref_26262 = ref_26062 # MOV operation
ref_26268 = (0x1F & ref_26262) # AND operation
ref_26493 = ref_26268 # MOV operation
ref_26501 = ((ref_26493 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_26508 = ref_26501 # MOV operation
ref_26612 = ref_25164 # MOV operation
ref_26616 = ref_26508 # MOV operation
ref_26618 = (ref_26616 | ref_26612) # OR operation
ref_26727 = ref_26618 # MOV operation
ref_28081 = ref_10061 # MOV operation
ref_28157 = ref_28081 # MOV operation
ref_28171 = (0xF & ref_28157) # AND operation
ref_28396 = ref_28171 # MOV operation
ref_28404 = ((ref_28396 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_28411 = ref_28404 # MOV operation
ref_29329 = ref_23424 # MOV operation
ref_29405 = ref_29329 # MOV operation
ref_29417 = ref_28411 # MOV operation
ref_29419 = (ref_29417 | ref_29405) # OR operation
ref_30350 = ref_29419 # MOV operation
ref_33009 = ref_30350 # MOV operation
ref_33209 = ref_33009 # MOV operation
ref_33215 = (0xF & ref_33209) # AND operation
ref_33316 = ref_33215 # MOV operation
ref_33330 = ((ref_33316 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_34253 = ref_30350 # MOV operation
ref_34329 = ref_34253 # MOV operation
ref_34341 = ref_33330 # MOV operation
ref_34343 = (ref_34341 | ref_34329) # OR operation
ref_35274 = ref_34343 # MOV operation
ref_37014 = ref_26727 # MOV operation
ref_37912 = ref_35274 # MOV operation
ref_38112 = ref_37912 # MOV operation
ref_38118 = (0x1F & ref_38112) # AND operation
ref_38343 = ref_38118 # MOV operation
ref_38351 = ((ref_38343 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38358 = ref_38351 # MOV operation
ref_38462 = ref_37014 # MOV operation
ref_38466 = ref_38358 # MOV operation
ref_38468 = (ref_38466 | ref_38462) # OR operation
ref_38577 = ref_38468 # MOV operation
ref_38579 = ((ref_38577 >> 56) & 0xFF) # Byte reference - MOV operation
ref_38580 = ((ref_38577 >> 48) & 0xFF) # Byte reference - MOV operation
ref_38581 = ((ref_38577 >> 40) & 0xFF) # Byte reference - MOV operation
ref_38582 = ((ref_38577 >> 32) & 0xFF) # Byte reference - MOV operation
ref_38583 = ((ref_38577 >> 24) & 0xFF) # Byte reference - MOV operation
ref_38584 = ((ref_38577 >> 16) & 0xFF) # Byte reference - MOV operation
ref_38585 = ((ref_38577 >> 8) & 0xFF) # Byte reference - MOV operation
ref_38586 = (ref_38577 & 0xFF) # Byte reference - MOV operation
ref_39931 = ref_35274 # MOV operation
ref_40007 = ref_39931 # MOV operation
ref_40021 = (0xF & ref_40007) # AND operation
ref_40246 = ref_40021 # MOV operation
ref_40254 = ((ref_40246 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_40261 = ref_40254 # MOV operation
ref_41179 = ref_35274 # MOV operation
ref_41255 = ref_41179 # MOV operation
ref_41267 = ref_40261 # MOV operation
ref_41269 = (ref_41267 | ref_41255) # OR operation
ref_42200 = ref_41269 # MOV operation
ref_50390 = ref_38577 # MOV operation
ref_51288 = ref_38577 # MOV operation
ref_51372 = ref_50390 # MOV operation
ref_51376 = ref_51288 # MOV operation
ref_51378 = ((ref_51376 + ref_51372) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_51480 = ref_51378 # MOV operation
ref_51494 = (0x7 & ref_51480) # AND operation
ref_51595 = ref_51494 # MOV operation
ref_51609 = ((ref_51595 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_52532 = ref_42200 # MOV operation
ref_52608 = ref_52532 # MOV operation
ref_52620 = ref_51609 # MOV operation
ref_52622 = (ref_52620 | ref_52608) # OR operation
ref_52731 = ref_52622 # MOV operation
ref_54383 = ((((ref_38579) << 8 | ref_38580) << 8 | ref_38581) << 8 | ref_38582) # MOV operation
ref_54463 = (ref_54383 & 0xFFFFFFFF) # MOV operation
ref_55983 = ((((ref_38583) << 8 | ref_38584) << 8 | ref_38585) << 8 | ref_38586) # MOV operation
ref_57491 = (ref_55983 & 0xFFFFFFFF) # MOV operation
ref_57493 = (((ref_57491 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_57494 = (((ref_57491 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_57495 = (((ref_57491 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_57496 = ((ref_57491 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_59139 = (ref_54463 & 0xFFFFFFFF) # MOV operation
ref_59219 = (ref_59139 & 0xFFFFFFFF) # MOV operation
ref_59221 = (((ref_59219 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_59222 = (((ref_59219 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_59223 = (((ref_59219 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_59224 = ((ref_59219 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_60867 = ref_6850 # MOVZX operation
ref_60943 = (ref_60867 & 0xFF) # MOVZX operation
ref_62459 = ref_6851 # MOVZX operation
ref_63963 = (ref_62459 & 0xFF) # MOVZX operation
ref_63965 = (ref_63963 & 0xFF) # Byte reference - MOV operation
ref_65607 = (ref_60943 & 0xFF) # MOVZX operation
ref_65683 = (ref_65607 & 0xFF) # MOVZX operation
ref_65685 = (ref_65683 & 0xFF) # Byte reference - MOV operation
ref_67327 = ref_6849 # MOVZX operation
ref_67403 = (ref_67327 & 0xFF) # MOVZX operation
ref_70347 = ref_6855 # MOVZX operation
ref_70423 = (ref_70347 & 0xFF) # MOVZX operation
ref_70425 = (ref_70423 & 0xFF) # Byte reference - MOV operation
ref_72067 = (ref_67403 & 0xFF) # MOVZX operation
ref_72143 = (ref_72067 & 0xFF) # MOVZX operation
ref_72145 = (ref_72143 & 0xFF) # Byte reference - MOV operation
ref_73787 = ((((ref_10067) << 8 | ref_10068) << 8 | ref_10069) << 8 | ref_10070) # MOV operation
ref_73867 = (ref_73787 & 0xFFFFFFFF) # MOV operation
ref_76815 = ((((ref_10063) << 8 | ref_10064) << 8 | ref_10065) << 8 | ref_10066) # MOV operation
ref_76895 = (ref_76815 & 0xFFFFFFFF) # MOV operation
ref_76897 = (((ref_76895 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_76898 = (((ref_76895 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_76899 = (((ref_76895 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_76900 = ((ref_76895 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_78543 = (ref_73867 & 0xFFFFFFFF) # MOV operation
ref_78623 = (ref_78543 & 0xFFFFFFFF) # MOV operation
ref_78625 = (((ref_78623 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_78626 = (((ref_78623 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_78627 = (((ref_78623 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_78628 = ((ref_78623 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_81604 = ((((((((ref_78625) << 8 | ref_78626) << 8 | ref_78627) << 8 | ref_78628) << 8 | ref_76897) << 8 | ref_76898) << 8 | ref_76899) << 8 | ref_76900) # MOV operation
ref_82822 = ((((((((ref_6848) << 8 | ref_70425) << 8 | ref_63965) << 8 | ref_65685) << 8 | ref_6852) << 8 | ref_6853) << 8 | ref_6854) << 8 | ref_72145) # MOV operation
ref_83022 = ref_82822 # MOV operation
ref_83028 = (0x3F & ref_83022) # AND operation
ref_83253 = ref_83028 # MOV operation
ref_83261 = ((ref_83253 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_83268 = ref_83261 # MOV operation
ref_83372 = ref_81604 # MOV operation
ref_83376 = ref_83268 # MOV operation
ref_83378 = (ref_83376 | ref_83372) # OR operation
ref_83487 = ref_83378 # MOV operation
ref_85871 = ((((((((ref_57493) << 8 | ref_57494) << 8 | ref_57495) << 8 | ref_57496) << 8 | ref_59221) << 8 | ref_59222) << 8 | ref_59223) << 8 | ref_59224) # MOV operation
ref_87233 = ref_83487 # MOV operation
ref_87309 = ref_87233 # MOV operation
ref_87323 = (ref_87309 >> (0x3 & 0x3F)) # SHR operation
ref_87424 = ref_87323 # MOV operation
ref_87438 = (0xF & ref_87424) # AND operation
ref_87539 = ref_87438 # MOV operation
ref_87553 = (0x1 | ref_87539) # OR operation
ref_88476 = ref_52731 # MOV operation
ref_88552 = ref_88476 # MOV operation
ref_88564 = ref_87553 # MOV operation
ref_88566 = (ref_88552 >> ((ref_88564 & 0xFF) & 0x3F)) # SHR operation
ref_89489 = ref_52731 # MOV operation
ref_90503 = ref_83487 # MOV operation
ref_90703 = ref_90503 # MOV operation
ref_90711 = (ref_90703 >> (0x3 & 0x3F)) # SHR operation
ref_90718 = ref_90711 # MOV operation
ref_90814 = ref_90718 # MOV operation
ref_90828 = (0xF & ref_90814) # AND operation
ref_91053 = ref_90828 # MOV operation
ref_91059 = (0x1 | ref_91053) # OR operation
ref_91288 = ref_91059 # MOV operation
ref_91290 = ((0x40 - ref_91288) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_91298 = ref_91290 # MOV operation
ref_91402 = ref_89489 # MOV operation
ref_91406 = ref_91298 # MOV operation
ref_91408 = (ref_91406 & 0xFFFFFFFF) # MOV operation
ref_91410 = ((ref_91402 << ((ref_91408 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_91417 = ref_91410 # MOV operation
ref_91521 = ref_88566 # MOV operation
ref_91525 = ref_91417 # MOV operation
ref_91527 = (ref_91525 | ref_91521) # OR operation
ref_91628 = ref_91527 # MOV operation
ref_91642 = (0xF & ref_91628) # AND operation
ref_91867 = ref_91642 # MOV operation
ref_91875 = ((ref_91867 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_91882 = ref_91875 # MOV operation
ref_91986 = ref_85871 # MOV operation
ref_91990 = ref_91882 # MOV operation
ref_91992 = (ref_91990 | ref_91986) # OR operation
ref_92923 = ref_91992 # MOV operation
ref_94587 = ref_92923 # MOV operation
ref_95485 = ref_52731 # MOV operation
ref_95569 = ref_94587 # MOV operation
ref_95573 = ref_95485 # MOV operation
ref_95575 = (ref_95573 | ref_95569) # OR operation
ref_96498 = ((((((((ref_6848) << 8 | ref_70425) << 8 | ref_63965) << 8 | ref_65685) << 8 | ref_6852) << 8 | ref_6853) << 8 | ref_6854) << 8 | ref_72145) # MOV operation
ref_97512 = ref_83487 # MOV operation
ref_97712 = ref_97512 # MOV operation
ref_97720 = (ref_97712 >> (0x3 & 0x3F)) # SHR operation
ref_97727 = ref_97720 # MOV operation
ref_97947 = ref_97727 # MOV operation
ref_97953 = (0x7 & ref_97947) # AND operation
ref_98054 = ref_97953 # MOV operation
ref_98068 = (0x1 | ref_98054) # OR operation
ref_98177 = ref_96498 # MOV operation
ref_98181 = ref_98068 # MOV operation
ref_98183 = (ref_98181 & 0xFFFFFFFF) # MOV operation
ref_98185 = ((ref_98177 << ((ref_98183 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_98192 = ref_98185 # MOV operation
ref_98288 = ref_98192 # MOV operation
ref_98300 = ref_95575 # MOV operation
ref_98302 = (ref_98300 | ref_98288) # OR operation
ref_98411 = ref_98302 # MOV operation
ref_98622 = ref_98411 # MOV operation
ref_98624 = ref_98622 # MOV operation

print ref_98624 & 0xffffffffffffffff
