#!/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_7321 = ref_278 # MOV operation
ref_7659 = ref_7321 # MOV operation
ref_7667 = ((ref_7659 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_7674 = ref_7667 # MOV operation
ref_9065 = ref_278 # MOV operation
ref_9358 = ref_9065 # MOV operation
ref_9366 = (ref_9358 >> (0x7 & 0x3F)) # SHR operation
ref_9373 = ref_9366 # MOV operation
ref_9529 = ref_9373 # MOV operation
ref_9541 = ref_7674 # MOV operation
ref_9543 = (ref_9541 | ref_9529) # OR operation
ref_9694 = ref_9543 # MOV operation
ref_12611 = ref_9694 # MOV operation
ref_12941 = ref_12611 # MOV operation
ref_12943 = ((ref_12941 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_13119 = ref_12943 # MOV operation
ref_13121 = (ref_13119 & 0x1D5ABF66) # AND operation
ref_14517 = ref_278 # MOV operation
ref_14855 = ref_14517 # MOV operation
ref_14863 = ((ref_14855 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_14870 = ref_14863 # MOV operation
ref_16261 = ref_278 # MOV operation
ref_16554 = ref_16261 # MOV operation
ref_16562 = (ref_16554 >> (0xB & 0x3F)) # SHR operation
ref_16569 = ref_16562 # MOV operation
ref_16725 = ref_16569 # MOV operation
ref_16737 = ref_14870 # MOV operation
ref_16739 = (ref_16737 | ref_16725) # OR operation
ref_16897 = ref_16739 # MOV operation
ref_16909 = ref_13121 # MOV operation
ref_16911 = ((ref_16897 - ref_16909) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_16919 = ref_16911 # MOV operation
ref_17065 = ref_16919 # MOV operation
ref_19926 = ref_278 # MOV operation
ref_20059 = ref_19926 # MOV operation
ref_20073 = ((ref_20059 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_20081 = ref_20073 # MOV operation
ref_20227 = ref_20081 # MOV operation
ref_23144 = ref_9694 # MOV operation
ref_23277 = ref_23144 # MOV operation
ref_23291 = ((0x20453EE3 + ref_23277) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_24688 = ref_278 # MOV operation
ref_24821 = ref_24688 # MOV operation
ref_24833 = ref_23291 # MOV operation
ref_24835 = ((ref_24821 - ref_24833) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_24843 = ref_24835 # MOV operation
ref_24989 = ref_24843 # MOV operation
ref_29654 = ref_9694 # MOV operation
ref_31619 = ref_20227 # MOV operation
ref_31755 = ref_31619 # MOV operation
ref_31767 = ref_29654 # MOV operation
ref_31769 = (ref_31767 | ref_31755) # OR operation
ref_32125 = ref_31769 # MOV operation
ref_32131 = (0x3F & ref_32125) # AND operation
ref_32494 = ref_32131 # MOV operation
ref_32502 = ((ref_32494 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_32509 = ref_32502 # MOV operation
ref_34136 = ref_9694 # MOV operation
ref_34272 = ref_34136 # MOV operation
ref_34284 = ref_32509 # MOV operation
ref_34286 = (ref_34284 | ref_34272) # OR operation
ref_34437 = ref_34286 # MOV operation
ref_37707 = ref_17065 # MOV operation
ref_39499 = ref_34437 # MOV operation
ref_39792 = ref_39499 # MOV operation
ref_39800 = (ref_39792 >> (0x1 & 0x3F)) # SHR operation
ref_39807 = ref_39800 # MOV operation
ref_40158 = ref_39807 # MOV operation
ref_40164 = (0xF & ref_40158) # AND operation
ref_40325 = ref_40164 # MOV operation
ref_40339 = (0x1 | ref_40325) # OR operation
ref_40694 = ref_40339 # MOV operation
ref_40696 = ((0x40 - ref_40694) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_40704 = ref_40696 # MOV operation
ref_40877 = ref_37707 # MOV operation
ref_40881 = ref_40704 # MOV operation
ref_40883 = (ref_40881 & 0xFFFFFFFF) # MOV operation
ref_40885 = ((ref_40877 << ((ref_40883 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_40892 = ref_40885 # MOV operation
ref_42339 = ref_17065 # MOV operation
ref_44131 = ref_34437 # MOV operation
ref_44424 = ref_44131 # MOV operation
ref_44432 = (ref_44424 >> (0x1 & 0x3F)) # SHR operation
ref_44439 = ref_44432 # MOV operation
ref_44790 = ref_44439 # MOV operation
ref_44796 = (0xF & ref_44790) # AND operation
ref_44957 = ref_44796 # MOV operation
ref_44971 = (0x1 | ref_44957) # OR operation
ref_45104 = ref_42339 # MOV operation
ref_45108 = ref_44971 # MOV operation
ref_45110 = (ref_45108 & 0xFFFFFFFF) # MOV operation
ref_45112 = (ref_45104 >> ((ref_45110 & 0xFF) & 0x3F)) # SHR operation
ref_45119 = ref_45112 # MOV operation
ref_45275 = ref_45119 # MOV operation
ref_45287 = ref_40892 # MOV operation
ref_45289 = (ref_45287 | ref_45275) # OR operation
ref_45440 = ref_45289 # MOV operation
ref_48172 = ref_24989 # MOV operation
ref_50137 = ref_45440 # MOV operation
ref_50270 = ref_50137 # MOV operation
ref_50282 = ref_48172 # MOV operation
ref_50284 = ((ref_50270 - ref_50282) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_50292 = ref_50284 # MOV operation
ref_50438 = ref_50292 # MOV operation
ref_55401 = ref_34437 # MOV operation
ref_57013 = ref_17065 # MOV operation
ref_57344 = ref_57013 # MOV operation
ref_57350 = (0xF & ref_57344) # AND operation
ref_57511 = ref_57350 # MOV operation
ref_57525 = (0x1 | ref_57511) # OR operation
ref_57880 = ref_57525 # MOV operation
ref_57882 = ((0x40 - ref_57880) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_57890 = ref_57882 # MOV operation
ref_58063 = ref_55401 # MOV operation
ref_58067 = ref_57890 # MOV operation
ref_58069 = (ref_58067 & 0xFFFFFFFF) # MOV operation
ref_58071 = ((ref_58063 << ((ref_58069 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_58078 = ref_58071 # MOV operation
ref_59525 = ref_34437 # MOV operation
ref_61137 = ref_17065 # MOV operation
ref_61468 = ref_61137 # MOV operation
ref_61474 = (0xF & ref_61468) # AND operation
ref_61635 = ref_61474 # MOV operation
ref_61649 = (0x1 | ref_61635) # OR operation
ref_61782 = ref_59525 # MOV operation
ref_61786 = ref_61649 # MOV operation
ref_61788 = (ref_61786 & 0xFFFFFFFF) # MOV operation
ref_61790 = (ref_61782 >> ((ref_61788 & 0xFF) & 0x3F)) # SHR operation
ref_61797 = ref_61790 # MOV operation
ref_61953 = ref_61797 # MOV operation
ref_61965 = ref_58078 # MOV operation
ref_61967 = (ref_61965 | ref_61953) # OR operation
ref_63604 = ref_24989 # MOV operation
ref_65031 = ref_50438 # MOV operation
ref_65167 = ref_65031 # MOV operation
ref_65179 = ref_63604 # MOV operation
ref_65181 = (ref_65179 | ref_65167) # OR operation
ref_65499 = ref_65181 # MOV operation
ref_65507 = (ref_65499 >> (0x1 & 0x3F)) # SHR operation
ref_65514 = ref_65507 # MOV operation
ref_65865 = ref_65514 # MOV operation
ref_65871 = (0x7 & ref_65865) # AND operation
ref_66032 = ref_65871 # MOV operation
ref_66046 = (0x1 | ref_66032) # OR operation
ref_66224 = ref_61967 # MOV operation
ref_66228 = ref_66046 # MOV operation
ref_66230 = (ref_66228 & 0xFFFFFFFF) # MOV operation
ref_66232 = ((ref_66224 << ((ref_66230 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_66239 = ref_66232 # MOV operation
ref_66385 = ref_66239 # MOV operation
ref_66690 = ref_66385 # MOV operation
ref_66692 = ref_66690 # MOV operation

print ref_66692 & 0xffffffffffffffff
