#!/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_93734 = ref_278 # MOV operation
ref_93818 = ref_93734 # MOV operation
ref_113018 = ref_93818 # MOV operation
ref_115072 = ref_113018 # MOV operation
ref_115078 = ((0x3F22161B + ref_115072) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_115188 = ref_115078 # MOV operation
ref_209982 = ref_115188 # MOV operation
ref_210066 = ref_209982 # MOV operation
ref_351008 = ref_210066 # MOV operation
ref_351092 = ref_351008 # MOV operation
ref_358755 = ref_351092 # MOV operation
ref_360813 = ref_358755 # MOV operation
ref_360815 = (((sx(0x40, ref_360813) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_360921 = ref_360815 # MOV operation
ref_370940 = ref_360921 # MOV operation
ref_372998 = ref_370940 # MOV operation
ref_373000 = (((sx(0x40, ref_372998) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_373106 = ref_373000 # MOV operation
ref_385095 = ref_373106 # MOV operation
ref_385171 = ref_385095 # MOV operation
ref_385185 = (ref_385171 >> (0x1 & 0x3F)) # SHR operation
ref_385294 = ref_385185 # MOV operation
ref_406850 = ref_385294 # MOV operation
ref_408904 = ref_406850 # MOV operation
ref_408910 = (0xF & ref_408904) # AND operation
ref_409019 = ref_408910 # MOV operation
ref_421008 = ref_409019 # MOV operation
ref_421084 = ref_421008 # MOV operation
ref_421098 = (0x1 | ref_421084) # OR operation
ref_421207 = ref_421098 # MOV operation
ref_442763 = ref_421207 # MOV operation
ref_444821 = ref_442763 # MOV operation
ref_444823 = ((0x40 - ref_444821) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_444831 = ref_444823 # MOV operation
ref_444935 = ref_444831 # MOV operation
ref_542142 = ref_278 # MOV operation
ref_542226 = ref_542142 # MOV operation
ref_551859 = ref_542226 # MOV operation
ref_551935 = ref_551859 # MOV operation
ref_551949 = (ref_551935 >> (0x39 & 0x3F)) # SHR operation
ref_552058 = ref_551949 # MOV operation
ref_637728 = ref_278 # MOV operation
ref_637812 = ref_637728 # MOV operation
ref_658982 = ref_637812 # MOV operation
ref_659058 = ref_658982 # MOV operation
ref_659072 = ((ref_659058 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_659181 = ref_659072 # MOV operation
ref_669200 = ref_552058 # MOV operation
ref_671170 = ref_659181 # MOV operation
ref_671246 = ref_671170 # MOV operation
ref_671258 = ref_669200 # MOV operation
ref_671260 = (ref_671258 | ref_671246) # OR operation
ref_671369 = ref_671260 # MOV operation
ref_681388 = ref_444935 # MOV operation
ref_683358 = ref_671369 # MOV operation
ref_683434 = ref_683358 # MOV operation
ref_683446 = ref_681388 # MOV operation
ref_683448 = (ref_683434 >> ((ref_683446 & 0xFF) & 0x3F)) # SHR operation
ref_683557 = ref_683448 # MOV operation
ref_780764 = ref_278 # MOV operation
ref_780848 = ref_780764 # MOV operation
ref_790481 = ref_780848 # MOV operation
ref_790557 = ref_790481 # MOV operation
ref_790571 = (ref_790557 >> (0x39 & 0x3F)) # SHR operation
ref_790680 = ref_790571 # MOV operation
ref_876350 = ref_278 # MOV operation
ref_876434 = ref_876350 # MOV operation
ref_897604 = ref_876434 # MOV operation
ref_897680 = ref_897604 # MOV operation
ref_897694 = ((ref_897680 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_897803 = ref_897694 # MOV operation
ref_907822 = ref_790680 # MOV operation
ref_909792 = ref_897803 # MOV operation
ref_909868 = ref_909792 # MOV operation
ref_909880 = ref_907822 # MOV operation
ref_909882 = (ref_909880 | ref_909868) # OR operation
ref_909991 = ref_909882 # MOV operation
ref_1050933 = ref_210066 # MOV operation
ref_1051017 = ref_1050933 # MOV operation
ref_1058680 = ref_1051017 # MOV operation
ref_1060738 = ref_1058680 # MOV operation
ref_1060740 = (((sx(0x40, ref_1060738) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_1060846 = ref_1060740 # MOV operation
ref_1070865 = ref_1060846 # MOV operation
ref_1072923 = ref_1070865 # MOV operation
ref_1072925 = (((sx(0x40, ref_1072923) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_1073031 = ref_1072925 # MOV operation
ref_1085020 = ref_1073031 # MOV operation
ref_1085096 = ref_1085020 # MOV operation
ref_1085110 = (ref_1085096 >> (0x1 & 0x3F)) # SHR operation
ref_1085219 = ref_1085110 # MOV operation
ref_1106775 = ref_1085219 # MOV operation
ref_1108829 = ref_1106775 # MOV operation
ref_1108835 = (0xF & ref_1108829) # AND operation
ref_1108944 = ref_1108835 # MOV operation
ref_1120933 = ref_1108944 # MOV operation
ref_1121009 = ref_1120933 # MOV operation
ref_1121023 = (0x1 | ref_1121009) # OR operation
ref_1121132 = ref_1121023 # MOV operation
ref_1131151 = ref_1121132 # MOV operation
ref_1133121 = ref_909991 # MOV operation
ref_1133197 = ref_1133121 # MOV operation
ref_1133209 = ref_1131151 # MOV operation
ref_1133211 = ((ref_1133197 << ((ref_1133209 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_1133320 = ref_1133211 # MOV operation
ref_1143339 = ref_683557 # MOV operation
ref_1145309 = ref_1133320 # MOV operation
ref_1145385 = ref_1145309 # MOV operation
ref_1145397 = ref_1143339 # MOV operation
ref_1145399 = (ref_1145397 | ref_1145385) # OR operation
ref_1145508 = ref_1145399 # MOV operation
ref_1240302 = ref_1145508 # MOV operation
ref_1240386 = ref_1240302 # MOV operation
ref_1326056 = ref_278 # MOV operation
ref_1326140 = ref_1326056 # MOV operation
ref_1418578 = ref_1240386 # MOV operation
ref_1418662 = ref_1418578 # MOV operation
ref_1437862 = ref_1418662 # MOV operation
ref_1439916 = ref_1437862 # MOV operation
ref_1439922 = ((0xAD6EED + ref_1439916) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_1440032 = ref_1439922 # MOV operation
ref_1450051 = ref_1326140 # MOV operation
ref_1452021 = ref_1440032 # MOV operation
ref_1452105 = ref_1450051 # MOV operation
ref_1452109 = ref_1452021 # MOV operation
ref_1452111 = ((ref_1452109 + ref_1452105) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_1452221 = ref_1452111 # MOV operation
ref_1547015 = ref_1452221 # MOV operation
ref_1547099 = ref_1547015 # MOV operation
ref_1641893 = ref_210066 # MOV operation
ref_1641977 = ref_1641893 # MOV operation
ref_1725291 = ref_278 # MOV operation
ref_1725375 = ref_1725291 # MOV operation
ref_1733038 = ref_1641977 # MOV operation
ref_1735008 = ref_1725375 # MOV operation
ref_1735084 = ref_1735008 # MOV operation
ref_1735096 = ref_1733038 # MOV operation
ref_1735098 = (ref_1735096 | ref_1735084) # OR operation
ref_1735207 = ref_1735098 # MOV operation
ref_1830001 = ref_1547099 # MOV operation
ref_1830085 = ref_1830001 # MOV operation
ref_1922523 = ref_1240386 # MOV operation
ref_1922607 = ref_1922523 # MOV operation
ref_1941807 = ref_1922607 # MOV operation
ref_1943861 = ref_1941807 # MOV operation
ref_1943867 = ((0x2B6B05ED + ref_1943861) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_1943977 = ref_1943867 # MOV operation
ref_1953996 = ref_1830085 # MOV operation
ref_1955966 = ref_1943977 # MOV operation
ref_1956050 = ref_1953996 # MOV operation
ref_1956054 = ref_1955966 # MOV operation
ref_1956056 = (ref_1956054 & ref_1956050) # AND operation
ref_1956165 = ref_1956056 # MOV operation
ref_1966184 = ref_1735207 # MOV operation
ref_1968154 = ref_1956165 # MOV operation
ref_1968238 = ref_1966184 # MOV operation
ref_1968242 = ref_1968154 # MOV operation
ref_1968244 = ((ref_1968242 + ref_1968238) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_1968354 = ref_1968244 # MOV operation
ref_2063148 = ref_1968354 # MOV operation
ref_2063232 = ref_2063148 # MOV operation
ref_2158026 = ref_1547099 # MOV operation
ref_2158110 = ref_2158026 # MOV operation
ref_2177310 = ref_2158110 # MOV operation
ref_2179364 = ref_2177310 # MOV operation
ref_2179370 = (0x3F & ref_2179364) # AND operation
ref_2179479 = ref_2179370 # MOV operation
ref_2203005 = ref_2179479 # MOV operation
ref_2203081 = ref_2203005 # MOV operation
ref_2203095 = ((ref_2203081 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_2203204 = ref_2203095 # MOV operation
ref_2297998 = ref_2063232 # MOV operation
ref_2298082 = ref_2297998 # MOV operation
ref_2305745 = ref_2203204 # MOV operation
ref_2307715 = ref_2298082 # MOV operation
ref_2307791 = ref_2307715 # MOV operation
ref_2307803 = ref_2305745 # MOV operation
ref_2307805 = (ref_2307803 | ref_2307791) # OR operation
ref_2307914 = ref_2307805 # MOV operation
ref_2402708 = ref_2307914 # MOV operation
ref_2402792 = ref_2402708 # MOV operation
ref_2520660 = ref_1240386 # MOV operation
ref_2520744 = ref_2520660 # MOV operation
ref_2530377 = ref_2520744 # MOV operation
ref_2530453 = ref_2530377 # MOV operation
ref_2530467 = (ref_2530453 >> (0x4 & 0x3F)) # SHR operation
ref_2530576 = ref_2530467 # MOV operation
ref_2552132 = ref_2530576 # MOV operation
ref_2554186 = ref_2552132 # MOV operation
ref_2554192 = (0xF & ref_2554186) # AND operation
ref_2554301 = ref_2554192 # MOV operation
ref_2566290 = ref_2554301 # MOV operation
ref_2566366 = ref_2566290 # MOV operation
ref_2566380 = (0x1 | ref_2566366) # OR operation
ref_2566489 = ref_2566380 # MOV operation
ref_2588045 = ref_2566489 # MOV operation
ref_2590103 = ref_2588045 # MOV operation
ref_2590105 = ((0x40 - ref_2590103) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_2590113 = ref_2590105 # MOV operation
ref_2590217 = ref_2590113 # MOV operation
ref_2685011 = ref_210066 # MOV operation
ref_2685095 = ref_2685011 # MOV operation
ref_2692758 = ref_2590217 # MOV operation
ref_2694728 = ref_2685095 # MOV operation
ref_2694804 = ref_2694728 # MOV operation
ref_2694816 = ref_2692758 # MOV operation
ref_2694818 = (ref_2694804 >> ((ref_2694816 & 0xFF) & 0x3F)) # SHR operation
ref_2694927 = ref_2694818 # MOV operation
ref_2789721 = ref_210066 # MOV operation
ref_2789805 = ref_2789721 # MOV operation
ref_2905317 = ref_1240386 # MOV operation
ref_2905401 = ref_2905317 # MOV operation
ref_2915034 = ref_2905401 # MOV operation
ref_2915110 = ref_2915034 # MOV operation
ref_2915124 = (ref_2915110 >> (0x4 & 0x3F)) # SHR operation
ref_2915233 = ref_2915124 # MOV operation
ref_2936789 = ref_2915233 # MOV operation
ref_2938843 = ref_2936789 # MOV operation
ref_2938849 = (0xF & ref_2938843) # AND operation
ref_2938958 = ref_2938849 # MOV operation
ref_2950947 = ref_2938958 # MOV operation
ref_2951023 = ref_2950947 # MOV operation
ref_2951037 = (0x1 | ref_2951023) # OR operation
ref_2951146 = ref_2951037 # MOV operation
ref_2961165 = ref_2951146 # MOV operation
ref_2963135 = ref_2789805 # MOV operation
ref_2963211 = ref_2963135 # MOV operation
ref_2963223 = ref_2961165 # MOV operation
ref_2963225 = ((ref_2963211 << ((ref_2963223 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_2963334 = ref_2963225 # MOV operation
ref_2973353 = ref_2694927 # MOV operation
ref_2975323 = ref_2963334 # MOV operation
ref_2975399 = ref_2975323 # MOV operation
ref_2975411 = ref_2973353 # MOV operation
ref_2975413 = (ref_2975411 | ref_2975399) # OR operation
ref_2975522 = ref_2975413 # MOV operation
ref_3070316 = ref_1547099 # MOV operation
ref_3070400 = ref_3070316 # MOV operation
ref_3162838 = ref_2402792 # MOV operation
ref_3162922 = ref_3162838 # MOV operation
ref_3170585 = ref_3070400 # MOV operation
ref_3172555 = ref_3162922 # MOV operation
ref_3172639 = ref_3170585 # MOV operation
ref_3172643 = ref_3172555 # MOV operation
ref_3172645 = ((ref_3172643 + ref_3172639) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_3172755 = ref_3172645 # MOV operation
ref_3182774 = ref_3172755 # MOV operation
ref_3184744 = ref_2975522 # MOV operation
ref_3184820 = ref_3184744 # MOV operation
ref_3184832 = ref_3182774 # MOV operation
ref_3184834 = (((sx(0x40, ref_3184832) * sx(0x40, ref_3184820)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_3184940 = ref_3184834 # MOV operation
ref_3270619 = ref_3184940 # MOV operation
ref_3270703 = ref_3270619 # MOV operation
ref_3284200 = ref_3270703 # MOV operation
ref_3284202 = ref_3284200 # MOV operation

print ref_3284202 & 0xffffffffffffffff
