#!/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_6464 = ref_278 # MOV operation
ref_6574 = ref_6464 # MOV operation
ref_6592 = ((ref_6574 - 0x35CEDE6D) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_6712 = ref_6592 # MOV operation
ref_8433 = ref_278 # MOV operation
ref_8641 = ref_8433 # MOV operation
ref_8661 = ((((0x0) << 64 | ref_8641) / 0x7) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_8664 = ref_8661 # MOV operation
ref_8778 = ref_8664 # MOV operation
ref_10499 = ref_278 # MOV operation
ref_11913 = ref_8778 # MOV operation
ref_12121 = ref_11913 # MOV operation
ref_12141 = (ref_12121 >> (0x3 & 0x3F)) # SHR operation
ref_12256 = ref_12141 # MOV operation
ref_12274 = (ref_12256 & 0xF) # AND operation
ref_12389 = ref_12274 # MOV operation
ref_12407 = (ref_12389 | 0x1) # OR operation
ref_12636 = ref_12407 # MOV operation
ref_12638 = ((0x40 - ref_12636) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_12770 = ref_12638 # MOV operation
ref_12772 = (ref_12770 & 0xFFFFFFFF) # MOV operation
ref_12774 = (0x7A11169 >> ((ref_12772 & 0xFF) & 0x3F)) # SHR operation
ref_13997 = ref_8778 # MOV operation
ref_14205 = ref_13997 # MOV operation
ref_14225 = (ref_14205 >> (0x3 & 0x3F)) # SHR operation
ref_14340 = ref_14225 # MOV operation
ref_14358 = (ref_14340 & 0xF) # AND operation
ref_14473 = ref_14358 # MOV operation
ref_14491 = (ref_14473 | 0x1) # OR operation
ref_14622 = ref_14491 # MOV operation
ref_14624 = (ref_14622 & 0xFFFFFFFF) # MOV operation
ref_14626 = ((0x7A11169 << ((ref_14624 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_14741 = ref_14626 # MOV operation
ref_14757 = ref_12774 # MOV operation
ref_14759 = (ref_14741 | ref_14757) # OR operation
ref_14972 = ref_14759 # MOV operation
ref_14992 = (ref_14972 >> (0x4 & 0x3F)) # SHR operation
ref_15107 = ref_14992 # MOV operation
ref_15125 = (ref_15107 & 0xF) # AND operation
ref_15240 = ref_15125 # MOV operation
ref_15258 = (ref_15240 | 0x1) # OR operation
ref_15487 = ref_15258 # MOV operation
ref_15489 = ((0x40 - ref_15487) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_15605 = ref_10499 # MOV operation
ref_15621 = ref_15489 # MOV operation
ref_15623 = (ref_15621 & 0xFFFFFFFF) # MOV operation
ref_15625 = (ref_15605 >> ((ref_15623 & 0xFF) & 0x3F)) # SHR operation
ref_16541 = ref_278 # MOV operation
ref_17955 = ref_8778 # MOV operation
ref_18163 = ref_17955 # MOV operation
ref_18183 = (ref_18163 >> (0x3 & 0x3F)) # SHR operation
ref_18298 = ref_18183 # MOV operation
ref_18316 = (ref_18298 & 0xF) # AND operation
ref_18431 = ref_18316 # MOV operation
ref_18449 = (ref_18431 | 0x1) # OR operation
ref_18678 = ref_18449 # MOV operation
ref_18680 = ((0x40 - ref_18678) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_18812 = ref_18680 # MOV operation
ref_18814 = (ref_18812 & 0xFFFFFFFF) # MOV operation
ref_18816 = (0x7A11169 >> ((ref_18814 & 0xFF) & 0x3F)) # SHR operation
ref_20039 = ref_8778 # MOV operation
ref_20247 = ref_20039 # MOV operation
ref_20267 = (ref_20247 >> (0x3 & 0x3F)) # SHR operation
ref_20382 = ref_20267 # MOV operation
ref_20400 = (ref_20382 & 0xF) # AND operation
ref_20515 = ref_20400 # MOV operation
ref_20533 = (ref_20515 | 0x1) # OR operation
ref_20664 = ref_20533 # MOV operation
ref_20666 = (ref_20664 & 0xFFFFFFFF) # MOV operation
ref_20668 = ((0x7A11169 << ((ref_20666 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_20783 = ref_20668 # MOV operation
ref_20799 = ref_18816 # MOV operation
ref_20801 = (ref_20783 | ref_20799) # OR operation
ref_21014 = ref_20801 # MOV operation
ref_21034 = (ref_21014 >> (0x4 & 0x3F)) # SHR operation
ref_21149 = ref_21034 # MOV operation
ref_21167 = (ref_21149 & 0xF) # AND operation
ref_21282 = ref_21167 # MOV operation
ref_21300 = (ref_21282 | 0x1) # OR operation
ref_21415 = ref_16541 # MOV operation
ref_21431 = ref_21300 # MOV operation
ref_21433 = (ref_21431 & 0xFFFFFFFF) # MOV operation
ref_21435 = ((ref_21415 << ((ref_21433 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_21550 = ref_21435 # MOV operation
ref_21566 = ref_15625 # MOV operation
ref_21568 = (ref_21550 | ref_21566) # OR operation
ref_21687 = ref_21568 # MOV operation
ref_23604 = ref_278 # MOV operation
ref_23714 = ref_23604 # MOV operation
ref_23732 = ((ref_23714 - 0x297EE8A1) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_23848 = ref_23732 # MOV operation
ref_23866 = (((sx(0x40, ref_23848) * sx(0x40, 0x1471C5DA)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_23982 = ref_23866 # MOV operation
ref_23984 = ((ref_23982 >> 56) & 0xFF) # Byte reference - MOV operation
ref_23985 = ((ref_23982 >> 48) & 0xFF) # Byte reference - MOV operation
ref_23986 = ((ref_23982 >> 40) & 0xFF) # Byte reference - MOV operation
ref_23987 = ((ref_23982 >> 32) & 0xFF) # Byte reference - MOV operation
ref_23988 = ((ref_23982 >> 24) & 0xFF) # Byte reference - MOV operation
ref_23989 = ((ref_23982 >> 16) & 0xFF) # Byte reference - MOV operation
ref_23990 = ((ref_23982 >> 8) & 0xFF) # Byte reference - MOV operation
ref_23991 = (ref_23982 & 0xFF) # Byte reference - MOV operation
ref_25700 = ((ref_23986) << 8 | ref_23987) # MOVZX operation
ref_25808 = (ref_25700 & 0xFFFF) # MOVZX operation
ref_28892 = ((ref_23988) << 8 | ref_23989) # MOVZX operation
ref_29000 = (ref_28892 & 0xFFFF) # MOVZX operation
ref_30712 = (ref_25808 & 0xFFFF) # MOVZX operation
ref_30820 = (ref_30712 & 0xFFFF) # MOVZX operation
ref_30822 = (((ref_30820 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_30823 = ((ref_30820 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_40205 = ref_21687 # MOV operation
ref_40315 = ref_40205 # MOV operation
ref_40333 = (ref_40315 & 0x1F) # AND operation
ref_40546 = ref_40333 # MOV operation
ref_40566 = ((ref_40546 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_41495 = ref_8778 # MOV operation
ref_41605 = ref_41495 # MOV operation
ref_41621 = ref_40566 # MOV operation
ref_41623 = (ref_41605 | ref_41621) # OR operation
ref_41742 = ref_41623 # MOV operation
ref_43574 = ref_41742 # MOV operation
ref_43684 = ref_43574 # MOV operation
ref_43702 = (ref_43684 & 0xF) # AND operation
ref_43915 = ref_43702 # MOV operation
ref_43935 = ((ref_43915 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_44864 = ref_41742 # MOV operation
ref_44974 = ref_44864 # MOV operation
ref_44990 = ref_43935 # MOV operation
ref_44992 = (ref_44974 | ref_44990) # OR operation
ref_45111 = ref_44992 # MOV operation
ref_46913 = ((ref_23984) << 8 | ref_23985) # MOVZX operation
ref_47021 = (ref_46913 & 0xFFFF) # MOVZX operation
ref_50105 = ((ref_23990) << 8 | ref_23991) # MOVZX operation
ref_50213 = (ref_50105 & 0xFFFF) # MOVZX operation
ref_50215 = (((ref_50213 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_50216 = ((ref_50213 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_51925 = (ref_47021 & 0xFFFF) # MOVZX operation
ref_52033 = (ref_51925 & 0xFFFF) # MOVZX operation
ref_53745 = (ref_52033 & 0xFFFF) # MOVZX operation
ref_53853 = (ref_53745 & 0xFFFF) # MOVZX operation
ref_56937 = (ref_29000 & 0xFFFF) # MOVZX operation
ref_57045 = (ref_56937 & 0xFFFF) # MOVZX operation
ref_57047 = (((ref_57045 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_57048 = ((ref_57045 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_58757 = (ref_53853 & 0xFFFF) # MOVZX operation
ref_58865 = (ref_58757 & 0xFFFF) # MOVZX operation
ref_58867 = (((ref_58865 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_58868 = ((ref_58865 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_60589 = ref_6712 # MOV operation
ref_61709 = ref_45111 # MOV operation
ref_61819 = ref_61709 # MOV operation
ref_61837 = (ref_61819 & 0xF) # AND operation
ref_61952 = ref_61837 # MOV operation
ref_61970 = (ref_61952 | 0x1) # OR operation
ref_62199 = ref_61970 # MOV operation
ref_62201 = ((0x40 - ref_62199) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_62317 = ref_60589 # MOV operation
ref_62333 = ref_62201 # MOV operation
ref_62335 = (ref_62333 & 0xFFFFFFFF) # MOV operation
ref_62337 = (ref_62317 >> ((ref_62335 & 0xFF) & 0x3F)) # SHR operation
ref_63266 = ref_6712 # MOV operation
ref_64386 = ref_45111 # MOV operation
ref_64496 = ref_64386 # MOV operation
ref_64514 = (ref_64496 & 0xF) # AND operation
ref_64629 = ref_64514 # MOV operation
ref_64647 = (ref_64629 | 0x1) # OR operation
ref_64762 = ref_63266 # MOV operation
ref_64778 = ref_64647 # MOV operation
ref_64780 = (ref_64778 & 0xFFFFFFFF) # MOV operation
ref_64782 = ((ref_64762 << ((ref_64780 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_64897 = ref_64782 # MOV operation
ref_64913 = ref_62337 # MOV operation
ref_64915 = (ref_64897 | ref_64913) # OR operation
ref_66040 = ref_21687 # MOV operation
ref_67160 = ((((((((ref_50215) << 8 | ref_50216) << 8 | ref_58867) << 8 | ref_58868) << 8 | ref_30822) << 8 | ref_30823) << 8 | ref_57047) << 8 | ref_57048) # MOV operation
ref_67368 = ref_67160 # MOV operation
ref_67388 = (ref_67368 >> (0x2 & 0x3F)) # SHR operation
ref_67503 = ref_67388 # MOV operation
ref_67521 = (ref_67503 & 0xF) # AND operation
ref_67636 = ref_67521 # MOV operation
ref_67654 = (ref_67636 | 0x1) # OR operation
ref_67883 = ref_67654 # MOV operation
ref_67885 = ((0x40 - ref_67883) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_68001 = ref_66040 # MOV operation
ref_68017 = ref_67885 # MOV operation
ref_68019 = (ref_68017 & 0xFFFFFFFF) # MOV operation
ref_68021 = (ref_68001 >> ((ref_68019 & 0xFF) & 0x3F)) # SHR operation
ref_68950 = ref_21687 # MOV operation
ref_70070 = ((((((((ref_50215) << 8 | ref_50216) << 8 | ref_58867) << 8 | ref_58868) << 8 | ref_30822) << 8 | ref_30823) << 8 | ref_57047) << 8 | ref_57048) # MOV operation
ref_70278 = ref_70070 # MOV operation
ref_70298 = (ref_70278 >> (0x2 & 0x3F)) # SHR operation
ref_70413 = ref_70298 # MOV operation
ref_70431 = (ref_70413 & 0xF) # AND operation
ref_70546 = ref_70431 # MOV operation
ref_70564 = (ref_70546 | 0x1) # OR operation
ref_70679 = ref_68950 # MOV operation
ref_70695 = ref_70564 # MOV operation
ref_70697 = (ref_70695 & 0xFFFFFFFF) # MOV operation
ref_70699 = ((ref_70679 << ((ref_70697 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_70814 = ref_70699 # MOV operation
ref_70830 = ref_68021 # MOV operation
ref_70832 = (ref_70814 | ref_70830) # OR operation
ref_71045 = ref_70832 # MOV operation
ref_71065 = (ref_71045 >> (0x4 & 0x3F)) # SHR operation
ref_71180 = ref_71065 # MOV operation
ref_71198 = (ref_71180 & 0xF) # AND operation
ref_71313 = ref_71198 # MOV operation
ref_71331 = (ref_71313 | 0x1) # OR operation
ref_71560 = ref_71331 # MOV operation
ref_71562 = ((0x40 - ref_71560) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_71678 = ref_64915 # MOV operation
ref_71694 = ref_71562 # MOV operation
ref_71696 = (ref_71694 & 0xFFFFFFFF) # MOV operation
ref_71698 = ((ref_71678 << ((ref_71696 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_72627 = ref_6712 # MOV operation
ref_73747 = ref_45111 # MOV operation
ref_73857 = ref_73747 # MOV operation
ref_73875 = (ref_73857 & 0xF) # AND operation
ref_73990 = ref_73875 # MOV operation
ref_74008 = (ref_73990 | 0x1) # OR operation
ref_74237 = ref_74008 # MOV operation
ref_74239 = ((0x40 - ref_74237) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_74355 = ref_72627 # MOV operation
ref_74371 = ref_74239 # MOV operation
ref_74373 = (ref_74371 & 0xFFFFFFFF) # MOV operation
ref_74375 = (ref_74355 >> ((ref_74373 & 0xFF) & 0x3F)) # SHR operation
ref_75304 = ref_6712 # MOV operation
ref_76424 = ref_45111 # MOV operation
ref_76534 = ref_76424 # MOV operation
ref_76552 = (ref_76534 & 0xF) # AND operation
ref_76667 = ref_76552 # MOV operation
ref_76685 = (ref_76667 | 0x1) # OR operation
ref_76800 = ref_75304 # MOV operation
ref_76816 = ref_76685 # MOV operation
ref_76818 = (ref_76816 & 0xFFFFFFFF) # MOV operation
ref_76820 = ((ref_76800 << ((ref_76818 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_76935 = ref_76820 # MOV operation
ref_76951 = ref_74375 # MOV operation
ref_76953 = (ref_76935 | ref_76951) # OR operation
ref_78078 = ref_21687 # MOV operation
ref_79198 = ((((((((ref_50215) << 8 | ref_50216) << 8 | ref_58867) << 8 | ref_58868) << 8 | ref_30822) << 8 | ref_30823) << 8 | ref_57047) << 8 | ref_57048) # MOV operation
ref_79406 = ref_79198 # MOV operation
ref_79426 = (ref_79406 >> (0x2 & 0x3F)) # SHR operation
ref_79541 = ref_79426 # MOV operation
ref_79559 = (ref_79541 & 0xF) # AND operation
ref_79674 = ref_79559 # MOV operation
ref_79692 = (ref_79674 | 0x1) # OR operation
ref_79921 = ref_79692 # MOV operation
ref_79923 = ((0x40 - ref_79921) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_80039 = ref_78078 # MOV operation
ref_80055 = ref_79923 # MOV operation
ref_80057 = (ref_80055 & 0xFFFFFFFF) # MOV operation
ref_80059 = (ref_80039 >> ((ref_80057 & 0xFF) & 0x3F)) # SHR operation
ref_80988 = ref_21687 # MOV operation
ref_82108 = ((((((((ref_50215) << 8 | ref_50216) << 8 | ref_58867) << 8 | ref_58868) << 8 | ref_30822) << 8 | ref_30823) << 8 | ref_57047) << 8 | ref_57048) # MOV operation
ref_82316 = ref_82108 # MOV operation
ref_82336 = (ref_82316 >> (0x2 & 0x3F)) # SHR operation
ref_82451 = ref_82336 # MOV operation
ref_82469 = (ref_82451 & 0xF) # AND operation
ref_82584 = ref_82469 # MOV operation
ref_82602 = (ref_82584 | 0x1) # OR operation
ref_82717 = ref_80988 # MOV operation
ref_82733 = ref_82602 # MOV operation
ref_82735 = (ref_82733 & 0xFFFFFFFF) # MOV operation
ref_82737 = ((ref_82717 << ((ref_82735 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_82852 = ref_82737 # MOV operation
ref_82868 = ref_80059 # MOV operation
ref_82870 = (ref_82852 | ref_82868) # OR operation
ref_83083 = ref_82870 # MOV operation
ref_83103 = (ref_83083 >> (0x4 & 0x3F)) # SHR operation
ref_83218 = ref_83103 # MOV operation
ref_83236 = (ref_83218 & 0xF) # AND operation
ref_83351 = ref_83236 # MOV operation
ref_83369 = (ref_83351 | 0x1) # OR operation
ref_83484 = ref_76953 # MOV operation
ref_83500 = ref_83369 # MOV operation
ref_83502 = (ref_83500 & 0xFFFFFFFF) # MOV operation
ref_83504 = (ref_83484 >> ((ref_83502 & 0xFF) & 0x3F)) # SHR operation
ref_83619 = ref_83504 # MOV operation
ref_83635 = ref_71698 # MOV operation
ref_83637 = (ref_83619 | ref_83635) # OR operation
ref_83756 = ref_83637 # MOV operation
ref_83967 = ref_83756 # MOV operation
ref_83969 = ref_83967 # MOV operation

print ref_83969 & 0xffffffffffffffff
