#!/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_5059 = SymVar_0
ref_5074 = ref_5059 # MOV operation
ref_12884 = ref_5074 # MOV operation
ref_13326 = ref_12884 # MOV operation
ref_13334 = ((0x3F22161B + ref_13326) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_13565 = ref_13334 # MOV operation
ref_17821 = ref_13565 # MOV operation
ref_18034 = ref_17821 # MOV operation
ref_18036 = (((sx(0x40, ref_18034) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_18269 = ref_18036 # MOV operation
ref_18271 = (((sx(0x40, ref_18269) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_18733 = ref_18271 # MOV operation
ref_18743 = (ref_18733 >> (0x1 & 0x3F)) # SHR operation
ref_18750 = ref_18743 # MOV operation
ref_18967 = ref_18750 # MOV operation
ref_18983 = (0xF & ref_18967) # AND operation
ref_19448 = ref_18983 # MOV operation
ref_19456 = (0x1 | ref_19448) # OR operation
ref_21499 = ref_5074 # MOV operation
ref_21698 = ref_21499 # MOV operation
ref_21716 = ((ref_21698 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_21723 = ref_21716 # MOV operation
ref_23526 = ref_5074 # MOV operation
ref_23968 = ref_23526 # MOV operation
ref_23978 = (ref_23968 >> (0x39 & 0x3F)) # SHR operation
ref_23985 = ref_23978 # MOV operation
ref_24210 = ref_21723 # MOV operation
ref_24216 = ref_23985 # MOV operation
ref_24218 = (ref_24216 | ref_24210) # OR operation
ref_24440 = ref_24218 # MOV operation
ref_24454 = ref_19456 # MOV operation
ref_24456 = (ref_24454 & 0xFFFFFFFF) # MOV operation
ref_24458 = ((ref_24440 << ((ref_24456 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_24465 = ref_24458 # MOV operation
ref_26503 = ref_5074 # MOV operation
ref_26702 = ref_26503 # MOV operation
ref_26720 = ((ref_26702 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_26727 = ref_26720 # MOV operation
ref_28530 = ref_5074 # MOV operation
ref_28972 = ref_28530 # MOV operation
ref_28982 = (ref_28972 >> (0x39 & 0x3F)) # SHR operation
ref_28989 = ref_28982 # MOV operation
ref_29214 = ref_26727 # MOV operation
ref_29220 = ref_28989 # MOV operation
ref_29222 = (ref_29220 | ref_29214) # OR operation
ref_31816 = ref_13565 # MOV operation
ref_32029 = ref_31816 # MOV operation
ref_32031 = (((sx(0x40, ref_32029) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_32264 = ref_32031 # MOV operation
ref_32266 = (((sx(0x40, ref_32264) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_32728 = ref_32266 # MOV operation
ref_32738 = (ref_32728 >> (0x1 & 0x3F)) # SHR operation
ref_32745 = ref_32738 # MOV operation
ref_32962 = ref_32745 # MOV operation
ref_32978 = (0xF & ref_32962) # AND operation
ref_33443 = ref_32978 # MOV operation
ref_33451 = (0x1 | ref_33443) # OR operation
ref_33922 = ref_33451 # MOV operation
ref_33924 = ((0x40 - ref_33922) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_33932 = ref_33924 # MOV operation
ref_34157 = ref_29222 # MOV operation
ref_34163 = ref_33932 # MOV operation
ref_34165 = (ref_34163 & 0xFFFFFFFF) # MOV operation
ref_34167 = (ref_34157 >> ((ref_34165 & 0xFF) & 0x3F)) # SHR operation
ref_34174 = ref_34167 # MOV operation
ref_34399 = ref_24465 # MOV operation
ref_34405 = ref_34174 # MOV operation
ref_34407 = (ref_34405 | ref_34399) # OR operation
ref_34637 = ref_34407 # MOV operation
ref_38107 = ref_5074 # MOV operation
ref_39973 = ref_34637 # MOV operation
ref_40415 = ref_39973 # MOV operation
ref_40423 = ((0xAD6EED + ref_40415) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_40654 = ref_38107 # MOV operation
ref_40660 = ref_40423 # MOV operation
ref_40662 = ((ref_40660 + ref_40654) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_40893 = ref_40662 # MOV operation
ref_44363 = ref_5074 # MOV operation
ref_46229 = ref_13565 # MOV operation
ref_46436 = ref_44363 # MOV operation
ref_46442 = ref_46229 # MOV operation
ref_46444 = (ref_46442 | ref_46436) # OR operation
ref_48333 = ref_34637 # MOV operation
ref_48775 = ref_48333 # MOV operation
ref_48783 = ((0x2B6B05ED + ref_48775) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_50673 = ref_40893 # MOV operation
ref_50872 = ref_50673 # MOV operation
ref_50886 = ref_48783 # MOV operation
ref_50888 = (ref_50886 & ref_50872) # AND operation
ref_51118 = ref_46444 # MOV operation
ref_51124 = ref_50888 # MOV operation
ref_51126 = ((ref_51124 + ref_51118) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_51357 = ref_51126 # MOV operation
ref_54908 = ref_51357 # MOV operation
ref_57244 = ref_40893 # MOV operation
ref_57443 = ref_57244 # MOV operation
ref_57459 = (0x3F & ref_57443) # AND operation
ref_57681 = ref_57459 # MOV operation
ref_57699 = ((ref_57681 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_57706 = ref_57699 # MOV operation
ref_57931 = ref_54908 # MOV operation
ref_57937 = ref_57706 # MOV operation
ref_57939 = (ref_57937 | ref_57931) # OR operation
ref_58169 = ref_57939 # MOV operation
ref_61883 = ref_34637 # MOV operation
ref_62325 = ref_61883 # MOV operation
ref_62335 = (ref_62325 >> (0x4 & 0x3F)) # SHR operation
ref_62342 = ref_62335 # MOV operation
ref_62559 = ref_62342 # MOV operation
ref_62575 = (0xF & ref_62559) # AND operation
ref_63040 = ref_62575 # MOV operation
ref_63048 = (0x1 | ref_63040) # OR operation
ref_64937 = ref_13565 # MOV operation
ref_65136 = ref_64937 # MOV operation
ref_65150 = ref_63048 # MOV operation
ref_65152 = (ref_65150 & 0xFFFFFFFF) # MOV operation
ref_65154 = ((ref_65136 << ((ref_65152 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_65161 = ref_65154 # MOV operation
ref_67045 = ref_13565 # MOV operation
ref_69146 = ref_34637 # MOV operation
ref_69588 = ref_69146 # MOV operation
ref_69598 = (ref_69588 >> (0x4 & 0x3F)) # SHR operation
ref_69605 = ref_69598 # MOV operation
ref_69822 = ref_69605 # MOV operation
ref_69838 = (0xF & ref_69822) # AND operation
ref_70303 = ref_69838 # MOV operation
ref_70311 = (0x1 | ref_70303) # OR operation
ref_70782 = ref_70311 # MOV operation
ref_70784 = ((0x40 - ref_70782) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_70792 = ref_70784 # MOV operation
ref_71017 = ref_67045 # MOV operation
ref_71023 = ref_70792 # MOV operation
ref_71025 = (ref_71023 & 0xFFFFFFFF) # MOV operation
ref_71027 = (ref_71017 >> ((ref_71025 & 0xFF) & 0x3F)) # SHR operation
ref_71034 = ref_71027 # MOV operation
ref_71259 = ref_65161 # MOV operation
ref_71265 = ref_71034 # MOV operation
ref_71267 = (ref_71265 | ref_71259) # OR operation
ref_73156 = ref_40893 # MOV operation
ref_75022 = ref_58169 # MOV operation
ref_75229 = ref_73156 # MOV operation
ref_75235 = ref_75022 # MOV operation
ref_75237 = ((ref_75235 + ref_75229) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_75468 = ref_71267 # MOV operation
ref_75474 = ref_75237 # MOV operation
ref_75476 = (((sx(0x40, ref_75474) * sx(0x40, ref_75468)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_75703 = ref_75476 # MOV operation
ref_76193 = ref_75703 # MOV operation
ref_76195 = ref_76193 # MOV operation

print ref_76195 & 0xffffffffffffffff
