#!/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_14806 = ref_278 # MOV operation
ref_15846 = ref_14806 # MOV operation
ref_15852 = ((0x3F22161B + ref_15846) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_16007 = ref_15852 # MOV operation
ref_28805 = ref_16007 # MOV operation
ref_28988 = ref_28805 # MOV operation
ref_28990 = (((sx(0x40, ref_28988) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_29195 = ref_28990 # MOV operation
ref_29197 = (((sx(0x40, ref_29195) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_30359 = ref_29197 # MOV operation
ref_30367 = (ref_30359 >> (0x1 & 0x3F)) # SHR operation
ref_30374 = ref_30367 # MOV operation
ref_30665 = ref_30374 # MOV operation
ref_30679 = (0xF & ref_30665) # AND operation
ref_32494 = ref_30679 # MOV operation
ref_32500 = (0x1 | ref_32494) # OR operation
ref_37959 = ref_278 # MOV operation
ref_38730 = ref_37959 # MOV operation
ref_38744 = ((ref_38730 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_43492 = ref_278 # MOV operation
ref_44632 = ref_43492 # MOV operation
ref_44640 = (ref_44632 >> (0x39 & 0x3F)) # SHR operation
ref_44647 = ref_44640 # MOV operation
ref_45746 = ref_38744 # MOV operation
ref_45750 = ref_44647 # MOV operation
ref_45752 = (ref_45750 | ref_45746) # OR operation
ref_46548 = ref_45752 # MOV operation
ref_46560 = ref_32500 # MOV operation
ref_46562 = ((ref_46548 << ((ref_46560 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_52021 = ref_278 # MOV operation
ref_52792 = ref_52021 # MOV operation
ref_52806 = ((ref_52792 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_57554 = ref_278 # MOV operation
ref_58694 = ref_57554 # MOV operation
ref_58702 = (ref_58694 >> (0x39 & 0x3F)) # SHR operation
ref_58709 = ref_58702 # MOV operation
ref_59808 = ref_52806 # MOV operation
ref_59812 = ref_58709 # MOV operation
ref_59814 = (ref_59812 | ref_59808) # OR operation
ref_67730 = ref_16007 # MOV operation
ref_67913 = ref_67730 # MOV operation
ref_67915 = (((sx(0x40, ref_67913) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_68120 = ref_67915 # MOV operation
ref_68122 = (((sx(0x40, ref_68120) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_69284 = ref_68122 # MOV operation
ref_69292 = (ref_69284 >> (0x1 & 0x3F)) # SHR operation
ref_69299 = ref_69292 # MOV operation
ref_69590 = ref_69299 # MOV operation
ref_69604 = (0xF & ref_69590) # AND operation
ref_71419 = ref_69604 # MOV operation
ref_71425 = (0x1 | ref_71419) # OR operation
ref_72644 = ref_71425 # MOV operation
ref_72646 = ((0x40 - ref_72644) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_72654 = ref_72646 # MOV operation
ref_73103 = ref_59814 # MOV operation
ref_73107 = ref_72654 # MOV operation
ref_73109 = (ref_73107 & 0xFFFFFFFF) # MOV operation
ref_73111 = (ref_73103 >> ((ref_73109 & 0xFF) & 0x3F)) # SHR operation
ref_73118 = ref_73111 # MOV operation
ref_74217 = ref_46562 # MOV operation
ref_74221 = ref_73118 # MOV operation
ref_74223 = (ref_74221 | ref_74217) # OR operation
ref_74377 = ref_74223 # MOV operation
ref_84007 = ref_278 # MOV operation
ref_89765 = ref_74377 # MOV operation
ref_90805 = ref_89765 # MOV operation
ref_90811 = ((0xAD6EED + ref_90805) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_91166 = ref_84007 # MOV operation
ref_91170 = ref_90811 # MOV operation
ref_91172 = ((ref_91170 + ref_91166) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_91327 = ref_91172 # MOV operation
ref_100957 = ref_278 # MOV operation
ref_106715 = ref_16007 # MOV operation
ref_107794 = ref_100957 # MOV operation
ref_107798 = ref_106715 # MOV operation
ref_107800 = (ref_107798 | ref_107794) # OR operation
ref_113583 = ref_74377 # MOV operation
ref_114623 = ref_113583 # MOV operation
ref_114629 = ((0x2B6B05ED + ref_114623) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_120413 = ref_91327 # MOV operation
ref_120684 = ref_120413 # MOV operation
ref_120696 = ref_114629 # MOV operation
ref_120698 = (ref_120696 & ref_120684) # AND operation
ref_121052 = ref_107800 # MOV operation
ref_121056 = ref_120698 # MOV operation
ref_121058 = ((ref_121056 + ref_121052) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_121213 = ref_121058 # MOV operation
ref_131878 = ref_121213 # MOV operation
ref_139058 = ref_91327 # MOV operation
ref_139329 = ref_139058 # MOV operation
ref_139343 = (0x3F & ref_139329) # AND operation
ref_140139 = ref_139343 # MOV operation
ref_140153 = ((ref_140139 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_141257 = ref_131878 # MOV operation
ref_141261 = ref_140153 # MOV operation
ref_141263 = (ref_141261 | ref_141257) # OR operation
ref_141417 = ref_141263 # MOV operation
ref_151767 = ref_74377 # MOV operation
ref_152907 = ref_151767 # MOV operation
ref_152915 = (ref_152907 >> (0x4 & 0x3F)) # SHR operation
ref_152922 = ref_152915 # MOV operation
ref_153213 = ref_152922 # MOV operation
ref_153227 = (0xF & ref_153213) # AND operation
ref_155042 = ref_153227 # MOV operation
ref_155048 = (0x1 | ref_155042) # OR operation
ref_160831 = ref_16007 # MOV operation
ref_161602 = ref_160831 # MOV operation
ref_161614 = ref_155048 # MOV operation
ref_161616 = ((ref_161602 << ((ref_161614 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_167399 = ref_16007 # MOV operation
ref_173868 = ref_74377 # MOV operation
ref_175008 = ref_173868 # MOV operation
ref_175016 = (ref_175008 >> (0x4 & 0x3F)) # SHR operation
ref_175023 = ref_175016 # MOV operation
ref_175314 = ref_175023 # MOV operation
ref_175328 = (0xF & ref_175314) # AND operation
ref_177143 = ref_175328 # MOV operation
ref_177149 = (0x1 | ref_177143) # OR operation
ref_178368 = ref_177149 # MOV operation
ref_178370 = ((0x40 - ref_178368) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_178378 = ref_178370 # MOV operation
ref_178827 = ref_167399 # MOV operation
ref_178831 = ref_178378 # MOV operation
ref_178833 = (ref_178831 & 0xFFFFFFFF) # MOV operation
ref_178835 = (ref_178827 >> ((ref_178833 & 0xFF) & 0x3F)) # SHR operation
ref_178842 = ref_178835 # MOV operation
ref_179941 = ref_161616 # MOV operation
ref_179945 = ref_178842 # MOV operation
ref_179947 = (ref_179945 | ref_179941) # OR operation
ref_185730 = ref_91327 # MOV operation
ref_191488 = ref_141417 # MOV operation
ref_191817 = ref_185730 # MOV operation
ref_191821 = ref_191488 # MOV operation
ref_191823 = ((ref_191821 + ref_191817) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_192028 = ref_179947 # MOV operation
ref_192032 = ref_191823 # MOV operation
ref_192034 = (((sx(0x40, ref_192032) * sx(0x40, ref_192028)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_192185 = ref_192034 # MOV operation
ref_193786 = ref_192185 # MOV operation
ref_193788 = ref_193786 # MOV operation

print ref_193788 & 0xffffffffffffffff
