#!/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_5594 = ref_278 # MOV operation
ref_5670 = ref_5594 # MOV operation
ref_5684 = ((ref_5670 - 0x35CEDE6D) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_5692 = ref_5684 # MOV operation
ref_6618 = ref_5692 # MOV operation
ref_8389 = ref_278 # MOV operation
ref_8465 = ref_8389 # MOV operation
ref_8481 = ((((0x0) << 64 | ref_8465) / 0x7) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_8586 = ref_8481 # MOV operation
ref_10241 = ref_278 # MOV operation
ref_11487 = ref_8586 # MOV operation
ref_11687 = ref_11487 # MOV operation
ref_11695 = (ref_11687 >> (0x3 & 0x3F)) # SHR operation
ref_11702 = ref_11695 # MOV operation
ref_11798 = ref_11702 # MOV operation
ref_11812 = (0xF & ref_11798) # AND operation
ref_12037 = ref_11812 # MOV operation
ref_12043 = (0x1 | ref_12037) # OR operation
ref_12272 = ref_12043 # MOV operation
ref_12274 = ((0x40 - ref_12272) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_12282 = ref_12274 # MOV operation
ref_12506 = ref_12282 # MOV operation
ref_12508 = (0x7A11169 >> ((ref_12506 & 0xFF) & 0x3F)) # SHR operation
ref_13431 = ref_8586 # MOV operation
ref_13631 = ref_13431 # MOV operation
ref_13639 = (ref_13631 >> (0x3 & 0x3F)) # SHR operation
ref_13646 = ref_13639 # MOV operation
ref_13866 = ref_13646 # MOV operation
ref_13872 = (0xF & ref_13866) # AND operation
ref_14097 = ref_13872 # MOV operation
ref_14103 = (0x1 | ref_14097) # OR operation
ref_14332 = ref_14103 # MOV operation
ref_14334 = ((0x7A11169 << ((ref_14332 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_14435 = ref_14334 # MOV operation
ref_14447 = ref_12508 # MOV operation
ref_14449 = (ref_14447 | ref_14435) # OR operation
ref_14674 = ref_14449 # MOV operation
ref_14682 = (ref_14674 >> (0x4 & 0x3F)) # SHR operation
ref_14689 = ref_14682 # MOV operation
ref_14785 = ref_14689 # MOV operation
ref_14799 = (0xF & ref_14785) # AND operation
ref_15024 = ref_14799 # MOV operation
ref_15030 = (0x1 | ref_15024) # OR operation
ref_15143 = ref_15030 # MOV operation
ref_15145 = ((0x40 - ref_15143) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_15153 = ref_15145 # MOV operation
ref_15257 = ref_10241 # MOV operation
ref_15261 = ref_15153 # MOV operation
ref_15263 = (ref_15261 & 0xFFFFFFFF) # MOV operation
ref_15265 = (ref_15257 >> ((ref_15263 & 0xFF) & 0x3F)) # SHR operation
ref_15272 = ref_15265 # MOV operation
ref_16886 = ref_8586 # MOV operation
ref_16962 = ref_16886 # MOV operation
ref_16976 = (ref_16962 >> (0x3 & 0x3F)) # SHR operation
ref_17201 = ref_16976 # MOV operation
ref_17207 = (0xF & ref_17201) # AND operation
ref_17308 = ref_17207 # MOV operation
ref_17322 = (0x1 | ref_17308) # OR operation
ref_17435 = ref_17322 # MOV operation
ref_17437 = ((0x40 - ref_17435) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_17445 = ref_17437 # MOV operation
ref_17553 = ref_17445 # MOV operation
ref_17555 = (ref_17553 & 0xFFFFFFFF) # MOV operation
ref_17557 = (0x7A11169 >> ((ref_17555 & 0xFF) & 0x3F)) # SHR operation
ref_17564 = ref_17557 # MOV operation
ref_18946 = ref_8586 # MOV operation
ref_19022 = ref_18946 # MOV operation
ref_19036 = (ref_19022 >> (0x3 & 0x3F)) # SHR operation
ref_19137 = ref_19036 # MOV operation
ref_19151 = (0xF & ref_19137) # AND operation
ref_19252 = ref_19151 # MOV operation
ref_19266 = (0x1 | ref_19252) # OR operation
ref_19379 = ref_19266 # MOV operation
ref_19381 = (ref_19379 & 0xFFFFFFFF) # MOV operation
ref_19383 = ((0x7A11169 << ((ref_19381 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_19390 = ref_19383 # MOV operation
ref_19486 = ref_19390 # MOV operation
ref_19498 = ref_17564 # MOV operation
ref_19500 = (ref_19498 | ref_19486) # OR operation
ref_19601 = ref_19500 # MOV operation
ref_19615 = (ref_19601 >> (0x4 & 0x3F)) # SHR operation
ref_19840 = ref_19615 # MOV operation
ref_19846 = (0xF & ref_19840) # AND operation
ref_19947 = ref_19846 # MOV operation
ref_19961 = (0x1 | ref_19947) # OR operation
ref_20799 = ref_278 # MOV operation
ref_20875 = ref_20799 # MOV operation
ref_20887 = ref_19961 # MOV operation
ref_20889 = ((ref_20875 << ((ref_20887 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_20990 = ref_20889 # MOV operation
ref_21002 = ref_15272 # MOV operation
ref_21004 = (ref_21002 | ref_20990) # OR operation
ref_21113 = ref_21004 # MOV operation
ref_23000 = ref_278 # MOV operation
ref_23076 = ref_23000 # MOV operation
ref_23090 = ((ref_23076 - 0x297EE8A1) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_23098 = ref_23090 # MOV operation
ref_23194 = ref_23098 # MOV operation
ref_23208 = (((sx(0x40, 0x1471C5DA) * sx(0x40, ref_23194)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_23314 = ref_23208 # MOV operation
ref_23316 = ((ref_23314 >> 56) & 0xFF) # Byte reference - MOV operation
ref_23317 = ((ref_23314 >> 48) & 0xFF) # Byte reference - MOV operation
ref_23318 = ((ref_23314 >> 40) & 0xFF) # Byte reference - MOV operation
ref_23319 = ((ref_23314 >> 32) & 0xFF) # Byte reference - MOV operation
ref_23320 = ((ref_23314 >> 24) & 0xFF) # Byte reference - MOV operation
ref_23321 = ((ref_23314 >> 16) & 0xFF) # Byte reference - MOV operation
ref_23322 = ((ref_23314 >> 8) & 0xFF) # Byte reference - MOV operation
ref_23323 = (ref_23314 & 0xFF) # Byte reference - MOV operation
ref_24838 = ((ref_23318) << 8 | ref_23319) # MOVZX operation
ref_25044 = (ref_24838 & 0xFFFF) # MOVZX operation
ref_27990 = ((ref_23320) << 8 | ref_23321) # MOVZX operation
ref_28068 = (ref_27990 & 0xFFFF) # MOVZX operation
ref_29714 = (ref_25044 & 0xFFFF) # MOVZX operation
ref_29792 = (ref_29714 & 0xFFFF) # MOVZX operation
ref_29794 = (((ref_29792 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_29795 = ((ref_29792 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_38028 = ref_21113 # MOV operation
ref_38228 = ref_38028 # MOV operation
ref_38234 = (0x1F & ref_38228) # AND operation
ref_38459 = ref_38234 # MOV operation
ref_38467 = ((ref_38459 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38474 = ref_38467 # MOV operation
ref_39392 = ref_8586 # MOV operation
ref_39468 = ref_39392 # MOV operation
ref_39480 = ref_38474 # MOV operation
ref_39482 = (ref_39480 | ref_39468) # OR operation
ref_40413 = ref_39482 # MOV operation
ref_42153 = ref_40413 # MOV operation
ref_43167 = ref_40413 # MOV operation
ref_43367 = ref_43167 # MOV operation
ref_43373 = (0xF & ref_43367) # AND operation
ref_43474 = ref_43373 # MOV operation
ref_43488 = ((ref_43474 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_43597 = ref_42153 # MOV operation
ref_43601 = ref_43488 # MOV operation
ref_43603 = (ref_43601 | ref_43597) # OR operation
ref_43712 = ref_43603 # MOV operation
ref_45448 = ((ref_23316) << 8 | ref_23317) # MOVZX operation
ref_45526 = (ref_45448 & 0xFFFF) # MOVZX operation
ref_47044 = ((ref_23322) << 8 | ref_23323) # MOVZX operation
ref_48550 = (ref_47044 & 0xFFFF) # MOVZX operation
ref_48552 = (((ref_48550 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_48553 = ((ref_48550 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_50196 = (ref_45526 & 0xFFFF) # MOVZX operation
ref_50274 = (ref_50196 & 0xFFFF) # MOVZX operation
ref_51792 = (ref_50274 & 0xFFFF) # MOVZX operation
ref_51998 = (ref_51792 & 0xFFFF) # MOVZX operation
ref_54944 = (ref_28068 & 0xFFFF) # MOVZX operation
ref_55022 = (ref_54944 & 0xFFFF) # MOVZX operation
ref_55024 = (((ref_55022 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_55025 = ((ref_55022 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_56668 = (ref_51998 & 0xFFFF) # MOVZX operation
ref_56746 = (ref_56668 & 0xFFFF) # MOVZX operation
ref_56748 = (((ref_56746 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_56749 = ((ref_56746 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_58636 = ref_21113 # MOV operation
ref_59998 = ((((((((ref_48552) << 8 | ref_48553) << 8 | ref_56748) << 8 | ref_56749) << 8 | ref_29794) << 8 | ref_29795) << 8 | ref_55024) << 8 | ref_55025) # MOV operation
ref_60074 = ref_59998 # MOV operation
ref_60088 = (ref_60074 >> (0x2 & 0x3F)) # SHR operation
ref_60189 = ref_60088 # MOV operation
ref_60203 = (0xF & ref_60189) # AND operation
ref_60304 = ref_60203 # MOV operation
ref_60318 = (0x1 | ref_60304) # OR operation
ref_60431 = ref_60318 # MOV operation
ref_60433 = ((0x40 - ref_60431) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_60441 = ref_60433 # MOV operation
ref_60545 = ref_58636 # MOV operation
ref_60549 = ref_60441 # MOV operation
ref_60551 = (ref_60549 & 0xFFFFFFFF) # MOV operation
ref_60553 = (ref_60545 >> ((ref_60551 & 0xFF) & 0x3F)) # SHR operation
ref_60560 = ref_60553 # MOV operation
ref_61710 = ((((((((ref_48552) << 8 | ref_48553) << 8 | ref_56748) << 8 | ref_56749) << 8 | ref_29794) << 8 | ref_29795) << 8 | ref_55024) << 8 | ref_55025) # MOV operation
ref_61786 = ref_61710 # MOV operation
ref_61800 = (ref_61786 >> (0x2 & 0x3F)) # SHR operation
ref_61901 = ref_61800 # MOV operation
ref_61915 = (0xF & ref_61901) # AND operation
ref_62140 = ref_61915 # MOV operation
ref_62146 = (0x1 | ref_62140) # OR operation
ref_63069 = ref_21113 # MOV operation
ref_63145 = ref_63069 # MOV operation
ref_63157 = ref_62146 # MOV operation
ref_63159 = ((ref_63145 << ((ref_63157 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_63260 = ref_63159 # MOV operation
ref_63272 = ref_60560 # MOV operation
ref_63274 = (ref_63272 | ref_63260) # OR operation
ref_63499 = ref_63274 # MOV operation
ref_63507 = (ref_63499 >> (0x4 & 0x3F)) # SHR operation
ref_63514 = ref_63507 # MOV operation
ref_63610 = ref_63514 # MOV operation
ref_63624 = (0xF & ref_63610) # AND operation
ref_63725 = ref_63624 # MOV operation
ref_63739 = (0x1 | ref_63725) # OR operation
ref_63968 = ref_63739 # MOV operation
ref_63970 = ((0x40 - ref_63968) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_63978 = ref_63970 # MOV operation
ref_65128 = ref_43712 # MOV operation
ref_65204 = ref_65128 # MOV operation
ref_65218 = (0xF & ref_65204) # AND operation
ref_65319 = ref_65218 # MOV operation
ref_65333 = (0x1 | ref_65319) # OR operation
ref_66256 = ref_6618 # MOV operation
ref_66332 = ref_66256 # MOV operation
ref_66344 = ref_65333 # MOV operation
ref_66346 = ((ref_66332 << ((ref_66344 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_67269 = ref_6618 # MOV operation
ref_68283 = ref_43712 # MOV operation
ref_68483 = ref_68283 # MOV operation
ref_68489 = (0xF & ref_68483) # AND operation
ref_68714 = ref_68489 # MOV operation
ref_68720 = (0x1 | ref_68714) # OR operation
ref_68833 = ref_68720 # MOV operation
ref_68835 = ((0x40 - ref_68833) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_68843 = ref_68835 # MOV operation
ref_68947 = ref_67269 # MOV operation
ref_68951 = ref_68843 # MOV operation
ref_68953 = (ref_68951 & 0xFFFFFFFF) # MOV operation
ref_68955 = (ref_68947 >> ((ref_68953 & 0xFF) & 0x3F)) # SHR operation
ref_68962 = ref_68955 # MOV operation
ref_69066 = ref_66346 # MOV operation
ref_69070 = ref_68962 # MOV operation
ref_69072 = (ref_69070 | ref_69066) # OR operation
ref_69173 = ref_69072 # MOV operation
ref_69185 = ref_63978 # MOV operation
ref_69187 = ((ref_69173 << ((ref_69185 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_70110 = ref_6618 # MOV operation
ref_71356 = ref_43712 # MOV operation
ref_71432 = ref_71356 # MOV operation
ref_71446 = (0xF & ref_71432) # AND operation
ref_71547 = ref_71446 # MOV operation
ref_71561 = (0x1 | ref_71547) # OR operation
ref_71674 = ref_71561 # MOV operation
ref_71676 = ((0x40 - ref_71674) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_71684 = ref_71676 # MOV operation
ref_71788 = ref_70110 # MOV operation
ref_71792 = ref_71684 # MOV operation
ref_71794 = (ref_71792 & 0xFFFFFFFF) # MOV operation
ref_71796 = (ref_71788 >> ((ref_71794 & 0xFF) & 0x3F)) # SHR operation
ref_71803 = ref_71796 # MOV operation
ref_72837 = ref_43712 # MOV operation
ref_73037 = ref_72837 # MOV operation
ref_73043 = (0xF & ref_73037) # AND operation
ref_73144 = ref_73043 # MOV operation
ref_73158 = (0x1 | ref_73144) # OR operation
ref_74081 = ref_6618 # MOV operation
ref_74157 = ref_74081 # MOV operation
ref_74169 = ref_73158 # MOV operation
ref_74171 = ((ref_74157 << ((ref_74169 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_74272 = ref_74171 # MOV operation
ref_74284 = ref_71803 # MOV operation
ref_74286 = (ref_74284 | ref_74272) # OR operation
ref_75557 = ((((((((ref_48552) << 8 | ref_48553) << 8 | ref_56748) << 8 | ref_56749) << 8 | ref_29794) << 8 | ref_29795) << 8 | ref_55024) << 8 | ref_55025) # MOV operation
ref_75757 = ref_75557 # MOV operation
ref_75765 = (ref_75757 >> (0x2 & 0x3F)) # SHR operation
ref_75772 = ref_75765 # MOV operation
ref_75868 = ref_75772 # MOV operation
ref_75882 = (0xF & ref_75868) # AND operation
ref_76107 = ref_75882 # MOV operation
ref_76113 = (0x1 | ref_76107) # OR operation
ref_77036 = ref_21113 # MOV operation
ref_77112 = ref_77036 # MOV operation
ref_77124 = ref_76113 # MOV operation
ref_77126 = ((ref_77112 << ((ref_77124 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_78049 = ref_21113 # MOV operation
ref_79295 = ((((((((ref_48552) << 8 | ref_48553) << 8 | ref_56748) << 8 | ref_56749) << 8 | ref_29794) << 8 | ref_29795) << 8 | ref_55024) << 8 | ref_55025) # MOV operation
ref_79371 = ref_79295 # MOV operation
ref_79385 = (ref_79371 >> (0x2 & 0x3F)) # SHR operation
ref_79610 = ref_79385 # MOV operation
ref_79616 = (0xF & ref_79610) # AND operation
ref_79717 = ref_79616 # MOV operation
ref_79731 = (0x1 | ref_79717) # OR operation
ref_79844 = ref_79731 # MOV operation
ref_79846 = ((0x40 - ref_79844) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_79854 = ref_79846 # MOV operation
ref_79958 = ref_78049 # MOV operation
ref_79962 = ref_79854 # MOV operation
ref_79964 = (ref_79962 & 0xFFFFFFFF) # MOV operation
ref_79966 = (ref_79958 >> ((ref_79964 & 0xFF) & 0x3F)) # SHR operation
ref_79973 = ref_79966 # MOV operation
ref_80077 = ref_77126 # MOV operation
ref_80081 = ref_79973 # MOV operation
ref_80083 = (ref_80081 | ref_80077) # OR operation
ref_80308 = ref_80083 # MOV operation
ref_80316 = (ref_80308 >> (0x4 & 0x3F)) # SHR operation
ref_80323 = ref_80316 # MOV operation
ref_80419 = ref_80323 # MOV operation
ref_80433 = (0xF & ref_80419) # AND operation
ref_80534 = ref_80433 # MOV operation
ref_80548 = (0x1 | ref_80534) # OR operation
ref_80657 = ref_74286 # MOV operation
ref_80661 = ref_80548 # MOV operation
ref_80663 = (ref_80661 & 0xFFFFFFFF) # MOV operation
ref_80665 = (ref_80657 >> ((ref_80663 & 0xFF) & 0x3F)) # SHR operation
ref_80672 = ref_80665 # MOV operation
ref_80768 = ref_80672 # MOV operation
ref_80780 = ref_69187 # MOV operation
ref_80782 = (ref_80780 | ref_80768) # OR operation
ref_80891 = ref_80782 # MOV operation
ref_81102 = ref_80891 # MOV operation
ref_81104 = ref_81102 # MOV operation

print ref_81104 & 0xffffffffffffffff
