#!/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_9340 = ref_278 # MOV operation
ref_9488 = ref_9340 # MOV operation
ref_9496 = ((ref_9488 << (0x33 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_9503 = ref_9496 # MOV operation
ref_10128 = ref_278 # MOV operation
ref_10276 = ref_10128 # MOV operation
ref_10284 = (ref_10276 >> (0xD & 0x3F)) # SHR operation
ref_10291 = ref_10284 # MOV operation
ref_10361 = ref_10291 # MOV operation
ref_10373 = ref_9503 # MOV operation
ref_10375 = (ref_10373 | ref_10361) # OR operation
ref_10450 = ref_10375 # MOV operation
ref_10464 = ((0x2EA4A1C39AF5800 + ref_10450) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_10548 = ref_10464 # MOV operation
ref_11898 = ref_10548 # MOV operation
ref_12503 = ref_278 # MOV operation
ref_12553 = ref_12503 # MOV operation
ref_12565 = ref_11898 # MOV operation
ref_12567 = ((ref_12553 - ref_12565) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_12575 = ref_12567 # MOV operation
ref_12653 = ref_12575 # MOV operation
ref_13918 = ref_278 # MOV operation
ref_14066 = ref_13918 # MOV operation
ref_14074 = (ref_14066 >> (0x37 & 0x3F)) # SHR operation
ref_14081 = ref_14074 # MOV operation
ref_14706 = ref_278 # MOV operation
ref_14854 = ref_14706 # MOV operation
ref_14862 = ((ref_14854 << (0x9 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_14869 = ref_14862 # MOV operation
ref_14939 = ref_14869 # MOV operation
ref_14951 = ref_14081 # MOV operation
ref_14953 = (ref_14951 | ref_14939) # OR operation
ref_15036 = ref_14953 # MOV operation
ref_16391 = ref_278 # MOV operation
ref_16441 = ref_16391 # MOV operation
ref_16455 = (0x3E908497 | ref_16441) # OR operation
ref_16538 = ref_16455 # MOV operation
ref_17306 = ref_16538 # MOV operation
ref_17996 = ref_15036 # MOV operation
ref_18046 = ref_17996 # MOV operation
ref_18058 = ref_17306 # MOV operation
ref_18060 = ((ref_18046 - ref_18058) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_18068 = ref_18060 # MOV operation
ref_18778 = ref_10548 # MOV operation
ref_19558 = ref_12653 # MOV operation
ref_19706 = ref_19558 # MOV operation
ref_19714 = (ref_19706 >> (0x2 & 0x3F)) # SHR operation
ref_19721 = ref_19714 # MOV operation
ref_19889 = ref_19721 # MOV operation
ref_19895 = (0xF & ref_19889) # AND operation
ref_19970 = ref_19895 # MOV operation
ref_19984 = (0x1 | ref_19970) # OR operation
ref_20161 = ref_19984 # MOV operation
ref_20163 = ((0x40 - ref_20161) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_20171 = ref_20163 # MOV operation
ref_20249 = ref_18778 # MOV operation
ref_20253 = ref_20171 # MOV operation
ref_20255 = (ref_20253 & 0xFFFFFFFF) # MOV operation
ref_20257 = ((ref_20249 << ((ref_20255 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_20264 = ref_20257 # MOV operation
ref_20974 = ref_10548 # MOV operation
ref_21754 = ref_12653 # MOV operation
ref_21902 = ref_21754 # MOV operation
ref_21910 = (ref_21902 >> (0x2 & 0x3F)) # SHR operation
ref_21917 = ref_21910 # MOV operation
ref_22085 = ref_21917 # MOV operation
ref_22091 = (0xF & ref_22085) # AND operation
ref_22166 = ref_22091 # MOV operation
ref_22180 = (0x1 | ref_22166) # OR operation
ref_22263 = ref_20974 # MOV operation
ref_22267 = ref_22180 # MOV operation
ref_22269 = (ref_22267 & 0xFFFFFFFF) # MOV operation
ref_22271 = (ref_22263 >> ((ref_22269 & 0xFF) & 0x3F)) # SHR operation
ref_22278 = ref_22271 # MOV operation
ref_22348 = ref_22278 # MOV operation
ref_22360 = ref_20264 # MOV operation
ref_22362 = (ref_22360 | ref_22348) # OR operation
ref_22437 = ref_22362 # MOV operation
ref_22449 = ref_18068 # MOV operation
ref_22451 = ((ref_22437 - ref_22449) & 0xFFFFFFFFFFFFFFFF) # CMP operation
ref_22453 = ((((ref_22437 ^ (ref_22449 ^ ref_22451)) ^ ((ref_22437 ^ ref_22451) & (ref_22437 ^ ref_22449))) >> 63) & 0x1) # Carry flag
ref_22459 = ((((ref_22449 >> 8) & 0xFFFFFFFFFFFFFF)) << 8 | (0x1 if (ref_22453 == 0x1) else 0x0)) # SETB operation
ref_22461 = (ref_22459 & 0xFF) # MOVZX operation
ref_22523 = (ref_22461 & 0xFFFFFFFF) # MOV operation
ref_22525 = ((ref_22523 & 0xFFFFFFFF) & (ref_22523 & 0xFFFFFFFF)) # TEST operation
ref_22530 = (0x1 if (ref_22525 == 0x0) else 0x0) # Zero flag
ref_22532 = (0x32FB if (ref_22530 == 0x1) else 0x32DD) # Program Counter


if (ref_22530 == 0x1):
    ref_43482 = SymVar_0
    ref_43497 = ref_43482 # MOV operation
    ref_52564 = ref_43497 # MOV operation
    ref_52712 = ref_52564 # MOV operation
    ref_52720 = ((ref_52712 << (0x33 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_52727 = ref_52720 # MOV operation
    ref_53352 = ref_43497 # MOV operation
    ref_53500 = ref_53352 # MOV operation
    ref_53508 = (ref_53500 >> (0xD & 0x3F)) # SHR operation
    ref_53515 = ref_53508 # MOV operation
    ref_53585 = ref_53515 # MOV operation
    ref_53597 = ref_52727 # MOV operation
    ref_53599 = (ref_53597 | ref_53585) # OR operation
    ref_53674 = ref_53599 # MOV operation
    ref_53688 = ((0x2EA4A1C39AF5800 + ref_53674) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_53772 = ref_53688 # MOV operation
    ref_55122 = ref_53772 # MOV operation
    ref_55727 = ref_43497 # MOV operation
    ref_55777 = ref_55727 # MOV operation
    ref_55789 = ref_55122 # MOV operation
    ref_55791 = ((ref_55777 - ref_55789) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_55799 = ref_55791 # MOV operation
    ref_55877 = ref_55799 # MOV operation
    ref_57142 = ref_43497 # MOV operation
    ref_57290 = ref_57142 # MOV operation
    ref_57298 = (ref_57290 >> (0x37 & 0x3F)) # SHR operation
    ref_57305 = ref_57298 # MOV operation
    ref_57930 = ref_43497 # MOV operation
    ref_58078 = ref_57930 # MOV operation
    ref_58086 = ((ref_58078 << (0x9 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_58093 = ref_58086 # MOV operation
    ref_58163 = ref_58093 # MOV operation
    ref_58175 = ref_57305 # MOV operation
    ref_58177 = (ref_58175 | ref_58163) # OR operation
    ref_58260 = ref_58177 # MOV operation
    ref_59615 = ref_43497 # MOV operation
    ref_59665 = ref_59615 # MOV operation
    ref_59679 = (0x3E908497 | ref_59665) # OR operation
    ref_59762 = ref_59679 # MOV operation
    ref_67097 = ref_53772 # MOV operation
    ref_67877 = ref_55877 # MOV operation
    ref_68025 = ref_67877 # MOV operation
    ref_68033 = (ref_68025 >> (0x4 & 0x3F)) # SHR operation
    ref_68040 = ref_68033 # MOV operation
    ref_68208 = ref_68040 # MOV operation
    ref_68214 = (0xF & ref_68208) # AND operation
    ref_68289 = ref_68214 # MOV operation
    ref_68303 = (0x1 | ref_68289) # OR operation
    ref_68480 = ref_68303 # MOV operation
    ref_68482 = ((0x40 - ref_68480) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_68490 = ref_68482 # MOV operation
    ref_68568 = ref_67097 # MOV operation
    ref_68572 = ref_68490 # MOV operation
    ref_68574 = (ref_68572 & 0xFFFFFFFF) # MOV operation
    ref_68576 = (ref_68568 >> ((ref_68574 & 0xFF) & 0x3F)) # SHR operation
    ref_68583 = ref_68576 # MOV operation
    ref_69293 = ref_53772 # MOV operation
    ref_70073 = ref_55877 # MOV operation
    ref_70221 = ref_70073 # MOV operation
    ref_70229 = (ref_70221 >> (0x4 & 0x3F)) # SHR operation
    ref_70236 = ref_70229 # MOV operation
    ref_70404 = ref_70236 # MOV operation
    ref_70410 = (0xF & ref_70404) # AND operation
    ref_70485 = ref_70410 # MOV operation
    ref_70499 = (0x1 | ref_70485) # OR operation
    ref_70582 = ref_69293 # MOV operation
    ref_70586 = ref_70499 # MOV operation
    ref_70588 = (ref_70586 & 0xFFFFFFFF) # MOV operation
    ref_70590 = ((ref_70582 << ((ref_70588 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_70597 = ref_70590 # MOV operation
    ref_70667 = ref_70597 # MOV operation
    ref_70679 = ref_68583 # MOV operation
    ref_70681 = (ref_70679 | ref_70667) # OR operation
    ref_71486 = ref_59762 # MOV operation
    ref_72176 = ref_58260 # MOV operation
    ref_72226 = ref_72176 # MOV operation
    ref_72238 = ref_71486 # MOV operation
    ref_72240 = (ref_72238 | ref_72226) # OR operation
    ref_72413 = ref_72240 # MOV operation
    ref_72421 = (ref_72413 >> (0x4 & 0x3F)) # SHR operation
    ref_72428 = ref_72421 # MOV operation
    ref_72596 = ref_72428 # MOV operation
    ref_72602 = (0x7 & ref_72596) # AND operation
    ref_72677 = ref_72602 # MOV operation
    ref_72691 = (0x1 | ref_72677) # OR operation
    ref_72774 = ref_70681 # MOV operation
    ref_72778 = ref_72691 # MOV operation
    ref_72780 = (ref_72778 & 0xFFFFFFFF) # MOV operation
    ref_72782 = (ref_72774 >> ((ref_72780 & 0xFF) & 0x3F)) # SHR operation
    ref_72789 = ref_72782 # MOV operation
    ref_72867 = ref_72789 # MOV operation
    ref_73026 = ref_72867 # MOV operation
    ref_73028 = ref_73026 # MOV operation
    endb = ref_73028


else:
    ref_263 = SymVar_0
    ref_278 = ref_263 # MOV operation
    ref_9340 = ref_278 # MOV operation
    ref_9488 = ref_9340 # MOV operation
    ref_9496 = ((ref_9488 << (0x33 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_9503 = ref_9496 # MOV operation
    ref_10128 = ref_278 # MOV operation
    ref_10276 = ref_10128 # MOV operation
    ref_10284 = (ref_10276 >> (0xD & 0x3F)) # SHR operation
    ref_10291 = ref_10284 # MOV operation
    ref_10361 = ref_10291 # MOV operation
    ref_10373 = ref_9503 # MOV operation
    ref_10375 = (ref_10373 | ref_10361) # OR operation
    ref_10450 = ref_10375 # MOV operation
    ref_10464 = ((0x2EA4A1C39AF5800 + ref_10450) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_10548 = ref_10464 # MOV operation
    ref_11898 = ref_10548 # MOV operation
    ref_12503 = ref_278 # MOV operation
    ref_12553 = ref_12503 # MOV operation
    ref_12565 = ref_11898 # MOV operation
    ref_12567 = ((ref_12553 - ref_12565) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_12575 = ref_12567 # MOV operation
    ref_12653 = ref_12575 # MOV operation
    ref_12655 = ((ref_12653 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_12656 = ((ref_12653 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_12657 = ((ref_12653 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_12658 = ((ref_12653 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_12659 = ((ref_12653 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_12660 = ((ref_12653 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_12661 = ((ref_12653 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_12662 = (ref_12653 & 0xFF) # Byte reference - MOV operation
    ref_13918 = ref_278 # MOV operation
    ref_14066 = ref_13918 # MOV operation
    ref_14074 = (ref_14066 >> (0x37 & 0x3F)) # SHR operation
    ref_14081 = ref_14074 # MOV operation
    ref_14706 = ref_278 # MOV operation
    ref_14854 = ref_14706 # MOV operation
    ref_14862 = ((ref_14854 << (0x9 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_14869 = ref_14862 # MOV operation
    ref_14939 = ref_14869 # MOV operation
    ref_14951 = ref_14081 # MOV operation
    ref_14953 = (ref_14951 | ref_14939) # OR operation
    ref_15036 = ref_14953 # MOV operation
    ref_16391 = ref_278 # MOV operation
    ref_16441 = ref_16391 # MOV operation
    ref_16455 = (0x3E908497 | ref_16441) # OR operation
    ref_16538 = ref_16455 # MOV operation
    ref_23708 = ((((ref_12655) << 8 | ref_12656) << 8 | ref_12657) << 8 | ref_12658) # MOV operation
    ref_23864 = (ref_23708 & 0xFFFFFFFF) # MOV operation
    ref_25020 = ((((ref_12659) << 8 | ref_12660) << 8 | ref_12661) << 8 | ref_12662) # MOV operation
    ref_26164 = (ref_25020 & 0xFFFFFFFF) # MOV operation
    ref_26166 = (((ref_26164 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
    ref_26167 = (((ref_26164 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
    ref_26168 = (((ref_26164 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_26169 = ((ref_26164 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
    ref_26332 = (ref_23864 & 0xFFFFFFFF) # MOV operation
    ref_27476 = (ref_26332 & 0xFFFFFFFF) # MOV operation
    ref_27478 = (((ref_27476 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
    ref_27479 = (((ref_27476 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
    ref_27480 = (((ref_27476 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
    ref_27481 = ((ref_27476 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
    ref_28822 = ref_10548 # MOV operation
    ref_28970 = ref_28822 # MOV operation
    ref_28976 = (0x3F & ref_28970) # AND operation
    ref_29149 = ref_28976 # MOV operation
    ref_29157 = ((ref_29149 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_29164 = ref_29157 # MOV operation
    ref_29874 = ref_10548 # MOV operation
    ref_29924 = ref_29874 # MOV operation
    ref_29936 = ref_29164 # MOV operation
    ref_29938 = (ref_29936 | ref_29924) # OR operation
    ref_30021 = ref_29938 # MOV operation
    ref_31371 = ref_30021 # MOV operation
    ref_31519 = ref_31371 # MOV operation
    ref_31525 = (0x1F & ref_31519) # AND operation
    ref_31698 = ref_31525 # MOV operation
    ref_31706 = ((ref_31698 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_31713 = ref_31706 # MOV operation
    ref_32423 = ref_16538 # MOV operation
    ref_32473 = ref_32423 # MOV operation
    ref_32485 = ref_31713 # MOV operation
    ref_32487 = (ref_32485 | ref_32473) # OR operation
    ref_32570 = ref_32487 # MOV operation
    ref_33920 = ref_15036 # MOV operation
    ref_34610 = ref_30021 # MOV operation
    ref_34660 = ref_34610 # MOV operation
    ref_34672 = ref_33920 # MOV operation
    ref_34674 = ((ref_34672 + ref_34660) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_34848 = ref_34674 # MOV operation
    ref_34854 = (0x1F & ref_34848) # AND operation
    ref_35027 = ref_34854 # MOV operation
    ref_35035 = ((ref_35027 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_35042 = ref_35035 # MOV operation
    ref_35752 = ref_30021 # MOV operation
    ref_35802 = ref_35752 # MOV operation
    ref_35814 = ref_35042 # MOV operation
    ref_35816 = (ref_35814 | ref_35802) # OR operation
    ref_35899 = ref_35816 # MOV operation
    ref_37231 = ref_35899 # MOV operation
    ref_38011 = ((((((((ref_26166) << 8 | ref_26167) << 8 | ref_26168) << 8 | ref_26169) << 8 | ref_27478) << 8 | ref_27479) << 8 | ref_27480) << 8 | ref_27481) # MOV operation
    ref_38159 = ref_38011 # MOV operation
    ref_38167 = (ref_38159 >> (0x4 & 0x3F)) # SHR operation
    ref_38174 = ref_38167 # MOV operation
    ref_38342 = ref_38174 # MOV operation
    ref_38348 = (0xF & ref_38342) # AND operation
    ref_38423 = ref_38348 # MOV operation
    ref_38437 = (0x1 | ref_38423) # OR operation
    ref_38614 = ref_38437 # MOV operation
    ref_38616 = ((0x40 - ref_38614) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_38624 = ref_38616 # MOV operation
    ref_38702 = ref_37231 # MOV operation
    ref_38706 = ref_38624 # MOV operation
    ref_38708 = (ref_38706 & 0xFFFFFFFF) # MOV operation
    ref_38710 = (ref_38702 >> ((ref_38708 & 0xFF) & 0x3F)) # SHR operation
    ref_38717 = ref_38710 # MOV operation
    ref_39427 = ref_35899 # MOV operation
    ref_40207 = ((((((((ref_26166) << 8 | ref_26167) << 8 | ref_26168) << 8 | ref_26169) << 8 | ref_27478) << 8 | ref_27479) << 8 | ref_27480) << 8 | ref_27481) # MOV operation
    ref_40355 = ref_40207 # MOV operation
    ref_40363 = (ref_40355 >> (0x4 & 0x3F)) # SHR operation
    ref_40370 = ref_40363 # MOV operation
    ref_40538 = ref_40370 # MOV operation
    ref_40544 = (0xF & ref_40538) # AND operation
    ref_40619 = ref_40544 # MOV operation
    ref_40633 = (0x1 | ref_40619) # OR operation
    ref_40716 = ref_39427 # MOV operation
    ref_40720 = ref_40633 # MOV operation
    ref_40722 = (ref_40720 & 0xFFFFFFFF) # MOV operation
    ref_40724 = ((ref_40716 << ((ref_40722 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_40731 = ref_40724 # MOV operation
    ref_40801 = ref_40731 # MOV operation
    ref_40813 = ref_38717 # MOV operation
    ref_40815 = (ref_40813 | ref_40801) # OR operation
    ref_41620 = ref_32570 # MOV operation
    ref_42310 = ref_15036 # MOV operation
    ref_42360 = ref_42310 # MOV operation
    ref_42372 = ref_41620 # MOV operation
    ref_42374 = (ref_42372 | ref_42360) # OR operation
    ref_42547 = ref_42374 # MOV operation
    ref_42555 = (ref_42547 >> (0x4 & 0x3F)) # SHR operation
    ref_42562 = ref_42555 # MOV operation
    ref_42730 = ref_42562 # MOV operation
    ref_42736 = (0x7 & ref_42730) # AND operation
    ref_42811 = ref_42736 # MOV operation
    ref_42825 = (0x1 | ref_42811) # OR operation
    ref_42908 = ref_40815 # MOV operation
    ref_42912 = ref_42825 # MOV operation
    ref_42914 = (ref_42912 & 0xFFFFFFFF) # MOV operation
    ref_42916 = (ref_42908 >> ((ref_42914 & 0xFF) & 0x3F)) # SHR operation
    ref_42923 = ref_42916 # MOV operation
    ref_43001 = ref_42923 # MOV operation
    ref_43160 = ref_43001 # MOV operation
    ref_43162 = ref_43160 # MOV operation
    endb = ref_43162


print endb & 0xffffffffffffffff
