#!/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_6795 = ref_278 # MOV operation
ref_7079 = ref_6795 # MOV operation
ref_7087 = ((ref_7079 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_7094 = ref_7087 # MOV operation
ref_8191 = ref_278 # MOV operation
ref_8430 = ref_8191 # MOV operation
ref_8438 = (ref_8430 >> (0x7 & 0x3F)) # SHR operation
ref_8445 = ref_8438 # MOV operation
ref_8574 = ref_8445 # MOV operation
ref_8586 = ref_7094 # MOV operation
ref_8588 = (ref_8586 | ref_8574) # OR operation
ref_8739 = ref_8588 # MOV operation
ref_11132 = ref_8739 # MOV operation
ref_11375 = ref_11132 # MOV operation
ref_11377 = ((ref_11375 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_11533 = ref_11377 # MOV operation
ref_11535 = (ref_11533 & 0x1D5ABF66) # AND operation
ref_12637 = ref_278 # MOV operation
ref_12921 = ref_12637 # MOV operation
ref_12929 = ((ref_12921 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_12936 = ref_12929 # MOV operation
ref_14033 = ref_278 # MOV operation
ref_14272 = ref_14033 # MOV operation
ref_14280 = (ref_14272 >> (0xB & 0x3F)) # SHR operation
ref_14287 = ref_14280 # MOV operation
ref_14416 = ref_14287 # MOV operation
ref_14428 = ref_12936 # MOV operation
ref_14430 = (ref_14428 | ref_14416) # OR operation
ref_14546 = ref_14430 # MOV operation
ref_14558 = ref_11535 # MOV operation
ref_14560 = ((ref_14546 - ref_14558) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_14568 = ref_14560 # MOV operation
ref_14714 = ref_14568 # MOV operation
ref_17022 = ref_278 # MOV operation
ref_17113 = ref_17022 # MOV operation
ref_17127 = ((ref_17113 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_17135 = ref_17127 # MOV operation
ref_17281 = ref_17135 # MOV operation
ref_19674 = ref_8739 # MOV operation
ref_19747 = ref_19674 # MOV operation
ref_19761 = ((0x20453EE3 + ref_19747) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_20864 = ref_278 # MOV operation
ref_20955 = ref_20864 # MOV operation
ref_20967 = ref_19761 # MOV operation
ref_20969 = ((ref_20955 - ref_20967) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_20977 = ref_20969 # MOV operation
ref_21123 = ref_20977 # MOV operation
ref_24918 = ref_8739 # MOV operation
ref_26472 = ref_17281 # MOV operation
ref_26581 = ref_26472 # MOV operation
ref_26593 = ref_24918 # MOV operation
ref_26595 = (ref_26593 | ref_26581) # OR operation
ref_26904 = ref_26595 # MOV operation
ref_26910 = (0x3F & ref_26904) # AND operation
ref_27219 = ref_26910 # MOV operation
ref_27227 = ((ref_27219 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_27234 = ref_27227 # MOV operation
ref_28537 = ref_8739 # MOV operation
ref_28646 = ref_28537 # MOV operation
ref_28658 = ref_27234 # MOV operation
ref_28660 = (ref_28658 | ref_28646) # OR operation
ref_28811 = ref_28660 # MOV operation
ref_31438 = ref_14714 # MOV operation
ref_32879 = ref_28811 # MOV operation
ref_33118 = ref_32879 # MOV operation
ref_33126 = (ref_33118 >> (0x1 & 0x3F)) # SHR operation
ref_33133 = ref_33126 # MOV operation
ref_33437 = ref_33133 # MOV operation
ref_33443 = (0xF & ref_33437) # AND operation
ref_33577 = ref_33443 # MOV operation
ref_33591 = (0x1 | ref_33577) # OR operation
ref_33877 = ref_33591 # MOV operation
ref_33879 = ((0x40 - ref_33877) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_33887 = ref_33879 # MOV operation
ref_34033 = ref_31438 # MOV operation
ref_34037 = ref_33887 # MOV operation
ref_34039 = (ref_34037 & 0xFFFFFFFF) # MOV operation
ref_34041 = ((ref_34033 << ((ref_34039 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_34048 = ref_34041 # MOV operation
ref_35230 = ref_14714 # MOV operation
ref_36671 = ref_28811 # MOV operation
ref_36910 = ref_36671 # MOV operation
ref_36918 = (ref_36910 >> (0x1 & 0x3F)) # SHR operation
ref_36925 = ref_36918 # MOV operation
ref_37229 = ref_36925 # MOV operation
ref_37235 = (0xF & ref_37229) # AND operation
ref_37369 = ref_37235 # MOV operation
ref_37383 = (0x1 | ref_37369) # OR operation
ref_37489 = ref_35230 # MOV operation
ref_37493 = ref_37383 # MOV operation
ref_37495 = (ref_37493 & 0xFFFFFFFF) # MOV operation
ref_37497 = (ref_37489 >> ((ref_37495 & 0xFF) & 0x3F)) # SHR operation
ref_37504 = ref_37497 # MOV operation
ref_37633 = ref_37504 # MOV operation
ref_37645 = ref_34048 # MOV operation
ref_37647 = (ref_37645 | ref_37633) # OR operation
ref_37798 = ref_37647 # MOV operation
ref_40033 = ref_21123 # MOV operation
ref_41587 = ref_37798 # MOV operation
ref_41678 = ref_41587 # MOV operation
ref_41690 = ref_40033 # MOV operation
ref_41692 = ((ref_41678 - ref_41690) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_41700 = ref_41692 # MOV operation
ref_41846 = ref_41700 # MOV operation
ref_45960 = ref_28811 # MOV operation
ref_47280 = ref_14714 # MOV operation
ref_47564 = ref_47280 # MOV operation
ref_47570 = (0xF & ref_47564) # AND operation
ref_47704 = ref_47570 # MOV operation
ref_47718 = (0x1 | ref_47704) # OR operation
ref_48004 = ref_47718 # MOV operation
ref_48006 = ((0x40 - ref_48004) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_48014 = ref_48006 # MOV operation
ref_48160 = ref_45960 # MOV operation
ref_48164 = ref_48014 # MOV operation
ref_48166 = (ref_48164 & 0xFFFFFFFF) # MOV operation
ref_48168 = ((ref_48160 << ((ref_48166 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_48175 = ref_48168 # MOV operation
ref_49357 = ref_28811 # MOV operation
ref_50677 = ref_14714 # MOV operation
ref_50961 = ref_50677 # MOV operation
ref_50967 = (0xF & ref_50961) # AND operation
ref_51101 = ref_50967 # MOV operation
ref_51115 = (0x1 | ref_51101) # OR operation
ref_51221 = ref_49357 # MOV operation
ref_51225 = ref_51115 # MOV operation
ref_51227 = (ref_51225 & 0xFFFFFFFF) # MOV operation
ref_51229 = (ref_51221 >> ((ref_51227 & 0xFF) & 0x3F)) # SHR operation
ref_51236 = ref_51229 # MOV operation
ref_51365 = ref_51236 # MOV operation
ref_51377 = ref_48175 # MOV operation
ref_51379 = (ref_51377 | ref_51365) # OR operation
ref_52724 = ref_21123 # MOV operation
ref_53886 = ref_41846 # MOV operation
ref_53995 = ref_53886 # MOV operation
ref_54007 = ref_52724 # MOV operation
ref_54009 = (ref_54007 | ref_53995) # OR operation
ref_54273 = ref_54009 # MOV operation
ref_54281 = (ref_54273 >> (0x1 & 0x3F)) # SHR operation
ref_54288 = ref_54281 # MOV operation
ref_54592 = ref_54288 # MOV operation
ref_54598 = (0x7 & ref_54592) # AND operation
ref_54732 = ref_54598 # MOV operation
ref_54746 = (0x1 | ref_54732) # OR operation
ref_54897 = ref_51379 # MOV operation
ref_54901 = ref_54746 # MOV operation
ref_54903 = (ref_54901 & 0xFFFFFFFF) # MOV operation
ref_54905 = ((ref_54897 << ((ref_54903 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_54912 = ref_54905 # MOV operation
ref_55058 = ref_54912 # MOV operation
ref_55353 = ref_55058 # MOV operation
ref_55355 = ref_55353 # MOV operation

print ref_55355 & 0xffffffffffffffff
