#!/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_338019 = ref_278 # MOV operation
ref_382463 = ref_338019 # MOV operation
ref_382471 = ((ref_382463 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_382478 = ref_382471 # MOV operation
ref_560260 = ref_278 # MOV operation
ref_604659 = ref_560260 # MOV operation
ref_604667 = (ref_604659 >> (0x7 & 0x3F)) # SHR operation
ref_604674 = ref_604667 # MOV operation
ref_626883 = ref_604674 # MOV operation
ref_626895 = ref_382478 # MOV operation
ref_626897 = (ref_626895 | ref_626883) # OR operation
ref_649101 = ref_626897 # MOV operation
ref_1004729 = ref_649101 # MOV operation
ref_1049168 = ref_1004729 # MOV operation
ref_1049170 = ((ref_1049168 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_1071379 = ref_1049170 # MOV operation
ref_1071381 = (ref_1071379 & 0x1D5ABF66) # AND operation
ref_1249168 = ref_278 # MOV operation
ref_1293612 = ref_1249168 # MOV operation
ref_1293620 = ((ref_1293612 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_1293627 = ref_1293620 # MOV operation
ref_1471409 = ref_278 # MOV operation
ref_1515808 = ref_1471409 # MOV operation
ref_1515816 = (ref_1515808 >> (0xB & 0x3F)) # SHR operation
ref_1515823 = ref_1515816 # MOV operation
ref_1538032 = ref_1515823 # MOV operation
ref_1538044 = ref_1293627 # MOV operation
ref_1538046 = (ref_1538044 | ref_1538032) # OR operation
ref_1560260 = ref_1538046 # MOV operation
ref_1560272 = ref_1071381 # MOV operation
ref_1560274 = ((ref_1560260 - ref_1560272) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_1560282 = ref_1560274 # MOV operation
ref_1582481 = ref_1560282 # MOV operation
ref_1938087 = ref_278 # MOV operation
ref_1960276 = ref_1938087 # MOV operation
ref_1960290 = ((ref_1960276 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_1960298 = ref_1960290 # MOV operation
ref_1982497 = ref_1960298 # MOV operation
ref_2338125 = ref_649101 # MOV operation
ref_2360314 = ref_2338125 # MOV operation
ref_2360328 = ((0x20453EE3 + ref_2360314) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_2538116 = ref_278 # MOV operation
ref_2560305 = ref_2538116 # MOV operation
ref_2560317 = ref_2360328 # MOV operation
ref_2560319 = ((ref_2560305 - ref_2560317) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_2560327 = ref_2560319 # MOV operation
ref_2582526 = ref_2560327 # MOV operation
ref_3160293 = ref_649101 # MOV operation
ref_3404754 = ref_1982497 # MOV operation
ref_3426943 = ref_3404754 # MOV operation
ref_3426955 = ref_3160293 # MOV operation
ref_3426957 = (ref_3426955 | ref_3426943) # OR operation
ref_3471399 = ref_3426957 # MOV operation
ref_3471405 = (0x3F & ref_3471399) # AND operation
ref_3515874 = ref_3471405 # MOV operation
ref_3515882 = ((ref_3515874 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_3515889 = ref_3515882 # MOV operation
ref_3715903 = ref_649101 # MOV operation
ref_3738092 = ref_3715903 # MOV operation
ref_3738104 = ref_3515889 # MOV operation
ref_3738106 = (ref_3738104 | ref_3738092) # OR operation
ref_3760310 = ref_3738106 # MOV operation
ref_4160377 = ref_1582481 # MOV operation
ref_4382609 = ref_3760310 # MOV operation
ref_4427008 = ref_4382609 # MOV operation
ref_4427016 = (ref_4427008 >> (0x1 & 0x3F)) # SHR operation
ref_4427023 = ref_4427016 # MOV operation
ref_4471460 = ref_4427023 # MOV operation
ref_4471466 = (0xF & ref_4471460) # AND operation
ref_4493680 = ref_4471466 # MOV operation
ref_4493694 = (0x1 | ref_4493680) # OR operation
ref_4538158 = ref_4493694 # MOV operation
ref_4538160 = ((0x40 - ref_4538158) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_4538168 = ref_4538160 # MOV operation
ref_4560394 = ref_4160377 # MOV operation
ref_4560398 = ref_4538168 # MOV operation
ref_4560400 = (ref_4560398 & 0xFFFFFFFF) # MOV operation
ref_4560402 = ((ref_4560394 << ((ref_4560400 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_4560409 = ref_4560402 # MOV operation
ref_4738213 = ref_1582481 # MOV operation
ref_4960445 = ref_3760310 # MOV operation
ref_5004844 = ref_4960445 # MOV operation
ref_5004852 = (ref_5004844 >> (0x1 & 0x3F)) # SHR operation
ref_5004859 = ref_5004852 # MOV operation
ref_5049296 = ref_5004859 # MOV operation
ref_5049302 = (0xF & ref_5049296) # AND operation
ref_5071516 = ref_5049302 # MOV operation
ref_5071530 = (0x1 | ref_5071516) # OR operation
ref_5093716 = ref_4738213 # MOV operation
ref_5093720 = ref_5071530 # MOV operation
ref_5093722 = (ref_5093720 & 0xFFFFFFFF) # MOV operation
ref_5093724 = (ref_5093716 >> ((ref_5093722 & 0xFF) & 0x3F)) # SHR operation
ref_5093731 = ref_5093724 # MOV operation
ref_5115940 = ref_5093731 # MOV operation
ref_5115952 = ref_4560409 # MOV operation
ref_5115954 = (ref_5115952 | ref_5115940) # OR operation
ref_5138158 = ref_5115954 # MOV operation
ref_5471548 = ref_2582526 # MOV operation
ref_5716009 = ref_5138158 # MOV operation
ref_5738198 = ref_5716009 # MOV operation
ref_5738210 = ref_5471548 # MOV operation
ref_5738212 = ((ref_5738198 - ref_5738210) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_5738220 = ref_5738212 # MOV operation
ref_5760419 = ref_5738220 # MOV operation
ref_6404709 = ref_3760310 # MOV operation
ref_6604731 = ref_1582481 # MOV operation
ref_6649148 = ref_6604731 # MOV operation
ref_6649154 = (0xF & ref_6649148) # AND operation
ref_6671368 = ref_6649154 # MOV operation
ref_6671382 = (0x1 | ref_6671368) # OR operation
ref_6715846 = ref_6671382 # MOV operation
ref_6715848 = ((0x40 - ref_6715846) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_6715856 = ref_6715848 # MOV operation
ref_6738082 = ref_6404709 # MOV operation
ref_6738086 = ref_6715856 # MOV operation
ref_6738088 = (ref_6738086 & 0xFFFFFFFF) # MOV operation
ref_6738090 = ((ref_6738082 << ((ref_6738088 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_6738097 = ref_6738090 # MOV operation
ref_6915901 = ref_3760310 # MOV operation
ref_7115923 = ref_1582481 # MOV operation
ref_7160340 = ref_7115923 # MOV operation
ref_7160346 = (0xF & ref_7160340) # AND operation
ref_7182560 = ref_7160346 # MOV operation
ref_7182574 = (0x1 | ref_7182560) # OR operation
ref_7204760 = ref_6915901 # MOV operation
ref_7204764 = ref_7182574 # MOV operation
ref_7204766 = (ref_7204764 & 0xFFFFFFFF) # MOV operation
ref_7204768 = (ref_7204760 >> ((ref_7204766 & 0xFF) & 0x3F)) # SHR operation
ref_7204775 = ref_7204768 # MOV operation
ref_7226984 = ref_7204775 # MOV operation
ref_7226996 = ref_6738097 # MOV operation
ref_7226998 = (ref_7226996 | ref_7226984) # OR operation
ref_7427045 = ref_2582526 # MOV operation
ref_7604829 = ref_5760419 # MOV operation
ref_7627018 = ref_7604829 # MOV operation
ref_7627030 = ref_7427045 # MOV operation
ref_7627032 = (ref_7627030 | ref_7627018) # OR operation
ref_7671456 = ref_7627032 # MOV operation
ref_7671464 = (ref_7671456 >> (0x1 & 0x3F)) # SHR operation
ref_7671471 = ref_7671464 # MOV operation
ref_7715908 = ref_7671471 # MOV operation
ref_7715914 = (0x7 & ref_7715908) # AND operation
ref_7738128 = ref_7715914 # MOV operation
ref_7738142 = (0x1 | ref_7738128) # OR operation
ref_7760373 = ref_7226998 # MOV operation
ref_7760377 = ref_7738142 # MOV operation
ref_7760379 = (ref_7760377 & 0xFFFFFFFF) # MOV operation
ref_7760381 = ((ref_7760373 << ((ref_7760379 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_7760388 = ref_7760381 # MOV operation
ref_7782587 = ref_7760388 # MOV operation
ref_7826979 = ref_7782587 # MOV operation
ref_7826981 = ref_7826979 # MOV operation

print ref_7826981 & 0xffffffffffffffff
