#!/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_105271 = ref_278 # MOV operation
ref_105355 = ref_105271 # MOV operation
ref_114988 = ref_105355 # MOV operation
ref_115064 = ref_114988 # MOV operation
ref_115078 = (ref_115064 >> (0x7 & 0x3F)) # SHR operation
ref_115187 = ref_115078 # MOV operation
ref_212394 = ref_278 # MOV operation
ref_212478 = ref_212394 # MOV operation
ref_220141 = ref_212478 # MOV operation
ref_222195 = ref_220141 # MOV operation
ref_222203 = ((ref_222195 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_222210 = ref_222203 # MOV operation
ref_222314 = ref_222210 # MOV operation
ref_232333 = ref_115187 # MOV operation
ref_234303 = ref_222314 # MOV operation
ref_234387 = ref_232333 # MOV operation
ref_234391 = ref_234303 # MOV operation
ref_234393 = (ref_234391 | ref_234387) # OR operation
ref_234502 = ref_234393 # MOV operation
ref_329296 = ref_234502 # MOV operation
ref_329380 = ref_329296 # MOV operation
ref_426587 = ref_278 # MOV operation
ref_426671 = ref_426587 # MOV operation
ref_436304 = ref_426671 # MOV operation
ref_436380 = ref_436304 # MOV operation
ref_436394 = (ref_436380 >> (0xB & 0x3F)) # SHR operation
ref_436503 = ref_436394 # MOV operation
ref_533710 = ref_278 # MOV operation
ref_533794 = ref_533710 # MOV operation
ref_541457 = ref_533794 # MOV operation
ref_543511 = ref_541457 # MOV operation
ref_543519 = ((ref_543511 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_543526 = ref_543519 # MOV operation
ref_543630 = ref_543526 # MOV operation
ref_553649 = ref_436503 # MOV operation
ref_555619 = ref_543630 # MOV operation
ref_555703 = ref_553649 # MOV operation
ref_555707 = ref_555619 # MOV operation
ref_555709 = (ref_555707 | ref_555703) # OR operation
ref_555818 = ref_555709 # MOV operation
ref_673686 = ref_329380 # MOV operation
ref_673770 = ref_673686 # MOV operation
ref_683403 = ref_673770 # MOV operation
ref_683491 = ref_683403 # MOV operation
ref_683493 = ((ref_683491 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_683603 = ref_683493 # MOV operation
ref_695592 = ref_683603 # MOV operation
ref_695680 = ref_695592 # MOV operation
ref_695682 = (ref_695680 & 0x1D5ABF66) # AND operation
ref_695791 = ref_695682 # MOV operation
ref_705810 = ref_555818 # MOV operation
ref_707780 = ref_695791 # MOV operation
ref_707864 = ref_705810 # MOV operation
ref_707868 = ref_707780 # MOV operation
ref_707870 = ((ref_707864 - ref_707868) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_707878 = ref_707870 # MOV operation
ref_707982 = ref_707878 # MOV operation
ref_802776 = ref_707982 # MOV operation
ref_802860 = ref_802776 # MOV operation
ref_888530 = ref_278 # MOV operation
ref_888614 = ref_888530 # MOV operation
ref_907814 = ref_888614 # MOV operation
ref_909868 = ref_907814 # MOV operation
ref_909874 = ((ref_909868 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_909882 = ref_909874 # MOV operation
ref_909986 = ref_909882 # MOV operation
ref_1004780 = ref_909986 # MOV operation
ref_1004864 = ref_1004780 # MOV operation
ref_1090534 = ref_278 # MOV operation
ref_1090618 = ref_1090534 # MOV operation
ref_1183056 = ref_329380 # MOV operation
ref_1183140 = ref_1183056 # MOV operation
ref_1202340 = ref_1183140 # MOV operation
ref_1204394 = ref_1202340 # MOV operation
ref_1204400 = ((0x20453EE3 + ref_1204394) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_1204510 = ref_1204400 # MOV operation
ref_1214529 = ref_1090618 # MOV operation
ref_1216499 = ref_1204510 # MOV operation
ref_1216583 = ref_1214529 # MOV operation
ref_1216587 = ref_1216499 # MOV operation
ref_1216589 = ((ref_1216583 - ref_1216587) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_1216597 = ref_1216589 # MOV operation
ref_1216701 = ref_1216597 # MOV operation
ref_1311495 = ref_1216701 # MOV operation
ref_1311579 = ref_1311495 # MOV operation
ref_1513346 = ref_329380 # MOV operation
ref_1513430 = ref_1513346 # MOV operation
ref_1650340 = ref_1004864 # MOV operation
ref_1650424 = ref_1650340 # MOV operation
ref_1752071 = ref_329380 # MOV operation
ref_1752155 = ref_1752071 # MOV operation
ref_1759818 = ref_1650424 # MOV operation
ref_1761788 = ref_1752155 # MOV operation
ref_1761872 = ref_1759818 # MOV operation
ref_1761876 = ref_1761788 # MOV operation
ref_1761878 = (ref_1761876 | ref_1761872) # OR operation
ref_1761987 = ref_1761878 # MOV operation
ref_1783543 = ref_1761987 # MOV operation
ref_1785597 = ref_1783543 # MOV operation
ref_1785603 = (0x3F & ref_1785597) # AND operation
ref_1785712 = ref_1785603 # MOV operation
ref_1795731 = ref_1785712 # MOV operation
ref_1797785 = ref_1795731 # MOV operation
ref_1797793 = ((ref_1797785 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_1797800 = ref_1797793 # MOV operation
ref_1797904 = ref_1797800 # MOV operation
ref_1807923 = ref_1513430 # MOV operation
ref_1809893 = ref_1797904 # MOV operation
ref_1809977 = ref_1807923 # MOV operation
ref_1809981 = ref_1809893 # MOV operation
ref_1809983 = (ref_1809981 | ref_1809977) # OR operation
ref_1810092 = ref_1809983 # MOV operation
ref_1914095 = ref_1810092 # MOV operation
ref_1914179 = ref_1914095 # MOV operation
ref_2029719 = ref_1914179 # MOV operation
ref_2029803 = ref_2029719 # MOV operation
ref_2039436 = ref_2029803 # MOV operation
ref_2039512 = ref_2039436 # MOV operation
ref_2039526 = (ref_2039512 >> (0x1 & 0x3F)) # SHR operation
ref_2039635 = ref_2039526 # MOV operation
ref_2061191 = ref_2039635 # MOV operation
ref_2063245 = ref_2061191 # MOV operation
ref_2063251 = (0xF & ref_2063245) # AND operation
ref_2063360 = ref_2063251 # MOV operation
ref_2084916 = ref_2063360 # MOV operation
ref_2086970 = ref_2084916 # MOV operation
ref_2086976 = (0x1 | ref_2086970) # OR operation
ref_2087085 = ref_2086976 # MOV operation
ref_2181879 = ref_802860 # MOV operation
ref_2181963 = ref_2181879 # MOV operation
ref_2189626 = ref_2087085 # MOV operation
ref_2191596 = ref_2181963 # MOV operation
ref_2191672 = ref_2191596 # MOV operation
ref_2191684 = ref_2189626 # MOV operation
ref_2191686 = (ref_2191672 >> ((ref_2191684 & 0xFF) & 0x3F)) # SHR operation
ref_2191795 = ref_2191686 # MOV operation
ref_2318872 = ref_1914179 # MOV operation
ref_2318956 = ref_2318872 # MOV operation
ref_2328589 = ref_2318956 # MOV operation
ref_2328665 = ref_2328589 # MOV operation
ref_2328679 = (ref_2328665 >> (0x1 & 0x3F)) # SHR operation
ref_2328788 = ref_2328679 # MOV operation
ref_2350344 = ref_2328788 # MOV operation
ref_2352398 = ref_2350344 # MOV operation
ref_2352404 = (0xF & ref_2352398) # AND operation
ref_2352513 = ref_2352404 # MOV operation
ref_2374069 = ref_2352513 # MOV operation
ref_2376123 = ref_2374069 # MOV operation
ref_2376129 = (0x1 | ref_2376123) # OR operation
ref_2376238 = ref_2376129 # MOV operation
ref_2388227 = ref_2376238 # MOV operation
ref_2388315 = ref_2388227 # MOV operation
ref_2388317 = ((0x40 - ref_2388315) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_2388325 = ref_2388317 # MOV operation
ref_2388429 = ref_2388325 # MOV operation
ref_2483223 = ref_802860 # MOV operation
ref_2483307 = ref_2483223 # MOV operation
ref_2490970 = ref_2483307 # MOV operation
ref_2492940 = ref_2388429 # MOV operation
ref_2493024 = ref_2490970 # MOV operation
ref_2493028 = ref_2492940 # MOV operation
ref_2493030 = (ref_2493028 & 0xFFFFFFFF) # MOV operation
ref_2493032 = ((ref_2493024 << ((ref_2493030 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_2493039 = ref_2493032 # MOV operation
ref_2493143 = ref_2493039 # MOV operation
ref_2503162 = ref_2191795 # MOV operation
ref_2505132 = ref_2493143 # MOV operation
ref_2505216 = ref_2503162 # MOV operation
ref_2505220 = ref_2505132 # MOV operation
ref_2505222 = (ref_2505220 | ref_2505216) # OR operation
ref_2505331 = ref_2505222 # MOV operation
ref_2633060 = ref_2505331 # MOV operation
ref_2633144 = ref_2633060 # MOV operation
ref_2760873 = ref_2633144 # MOV operation
ref_2760957 = ref_2760873 # MOV operation
ref_2853395 = ref_1311579 # MOV operation
ref_2853479 = ref_2853395 # MOV operation
ref_2861142 = ref_2760957 # MOV operation
ref_2863112 = ref_2853479 # MOV operation
ref_2863196 = ref_2861142 # MOV operation
ref_2863200 = ref_2863112 # MOV operation
ref_2863202 = ((ref_2863196 - ref_2863200) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_2863210 = ref_2863202 # MOV operation
ref_2863314 = ref_2863210 # MOV operation
ref_2958108 = ref_2863314 # MOV operation
ref_2958192 = ref_2958108 # MOV operation
ref_3208501 = ref_2958192 # MOV operation
ref_3208585 = ref_3208501 # MOV operation
ref_3301023 = ref_1311579 # MOV operation
ref_3301107 = ref_3301023 # MOV operation
ref_3308770 = ref_3208585 # MOV operation
ref_3310740 = ref_3301107 # MOV operation
ref_3310824 = ref_3308770 # MOV operation
ref_3310828 = ref_3310740 # MOV operation
ref_3310830 = (ref_3310828 | ref_3310824) # OR operation
ref_3310939 = ref_3310830 # MOV operation
ref_3322928 = ref_3310939 # MOV operation
ref_3323004 = ref_3322928 # MOV operation
ref_3323018 = (ref_3323004 >> (0x1 & 0x3F)) # SHR operation
ref_3323127 = ref_3323018 # MOV operation
ref_3344683 = ref_3323127 # MOV operation
ref_3346737 = ref_3344683 # MOV operation
ref_3346743 = (0x7 & ref_3346737) # AND operation
ref_3346852 = ref_3346743 # MOV operation
ref_3368408 = ref_3346852 # MOV operation
ref_3370462 = ref_3368408 # MOV operation
ref_3370468 = (0x1 | ref_3370462) # OR operation
ref_3370577 = ref_3370468 # MOV operation
ref_3465371 = ref_802860 # MOV operation
ref_3465455 = ref_3465371 # MOV operation
ref_3484655 = ref_3465455 # MOV operation
ref_3486709 = ref_3484655 # MOV operation
ref_3486715 = (0xF & ref_3486709) # AND operation
ref_3486824 = ref_3486715 # MOV operation
ref_3508380 = ref_3486824 # MOV operation
ref_3510434 = ref_3508380 # MOV operation
ref_3510440 = (0x1 | ref_3510434) # OR operation
ref_3510549 = ref_3510440 # MOV operation
ref_3605343 = ref_1914179 # MOV operation
ref_3605427 = ref_3605343 # MOV operation
ref_3613090 = ref_3510549 # MOV operation
ref_3615060 = ref_3605427 # MOV operation
ref_3615136 = ref_3615060 # MOV operation
ref_3615148 = ref_3613090 # MOV operation
ref_3615150 = (ref_3615136 >> ((ref_3615148 & 0xFF) & 0x3F)) # SHR operation
ref_3615259 = ref_3615150 # MOV operation
ref_3721590 = ref_802860 # MOV operation
ref_3721674 = ref_3721590 # MOV operation
ref_3740874 = ref_3721674 # MOV operation
ref_3742928 = ref_3740874 # MOV operation
ref_3742934 = (0xF & ref_3742928) # AND operation
ref_3743043 = ref_3742934 # MOV operation
ref_3764599 = ref_3743043 # MOV operation
ref_3766653 = ref_3764599 # MOV operation
ref_3766659 = (0x1 | ref_3766653) # OR operation
ref_3766768 = ref_3766659 # MOV operation
ref_3778757 = ref_3766768 # MOV operation
ref_3778845 = ref_3778757 # MOV operation
ref_3778847 = ((0x40 - ref_3778845) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_3778855 = ref_3778847 # MOV operation
ref_3778959 = ref_3778855 # MOV operation
ref_3873753 = ref_1914179 # MOV operation
ref_3873837 = ref_3873753 # MOV operation
ref_3881500 = ref_3873837 # MOV operation
ref_3883470 = ref_3778959 # MOV operation
ref_3883554 = ref_3881500 # MOV operation
ref_3883558 = ref_3883470 # MOV operation
ref_3883560 = (ref_3883558 & 0xFFFFFFFF) # MOV operation
ref_3883562 = ((ref_3883554 << ((ref_3883560 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_3883569 = ref_3883562 # MOV operation
ref_3883673 = ref_3883569 # MOV operation
ref_3893692 = ref_3615259 # MOV operation
ref_3895662 = ref_3883673 # MOV operation
ref_3895746 = ref_3893692 # MOV operation
ref_3895750 = ref_3895662 # MOV operation
ref_3895752 = (ref_3895750 | ref_3895746) # OR operation
ref_3895861 = ref_3895752 # MOV operation
ref_3905880 = ref_3895861 # MOV operation
ref_3907850 = ref_3370577 # MOV operation
ref_3907934 = ref_3905880 # MOV operation
ref_3907938 = ref_3907850 # MOV operation
ref_3907940 = (ref_3907938 & 0xFFFFFFFF) # MOV operation
ref_3907942 = ((ref_3907934 << ((ref_3907940 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_3907949 = ref_3907942 # MOV operation
ref_3908053 = ref_3907949 # MOV operation
ref_3993732 = ref_3908053 # MOV operation
ref_3993816 = ref_3993732 # MOV operation
ref_4007313 = ref_3993816 # MOV operation
ref_4007315 = ref_4007313 # MOV operation

print ref_4007315 & 0xffffffffffffffff
