#!/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_15542 = ref_278 # MOV operation
ref_17000 = ref_15542 # MOV operation
ref_17008 = ((ref_17000 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_17015 = ref_17008 # MOV operation
ref_22784 = ref_278 # MOV operation
ref_23918 = ref_22784 # MOV operation
ref_23926 = (ref_23918 >> (0x7 & 0x3F)) # SHR operation
ref_23933 = ref_23926 # MOV operation
ref_24550 = ref_23933 # MOV operation
ref_24562 = ref_17015 # MOV operation
ref_24564 = (ref_24562 | ref_24550) # OR operation
ref_25124 = ref_24564 # MOV operation
ref_35722 = ref_25124 # MOV operation
ref_37152 = ref_35722 # MOV operation
ref_37154 = ((ref_37152 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_37681 = ref_37154 # MOV operation
ref_37683 = (ref_37681 & 0x1D5ABF66) # AND operation
ref_43457 = ref_278 # MOV operation
ref_44915 = ref_43457 # MOV operation
ref_44923 = ((ref_44915 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_44930 = ref_44923 # MOV operation
ref_50699 = ref_278 # MOV operation
ref_51833 = ref_50699 # MOV operation
ref_51841 = (ref_51833 >> (0xB & 0x3F)) # SHR operation
ref_51848 = ref_51841 # MOV operation
ref_52465 = ref_51848 # MOV operation
ref_52477 = ref_44930 # MOV operation
ref_52479 = (ref_52477 | ref_52465) # OR operation
ref_53101 = ref_52479 # MOV operation
ref_53113 = ref_37683 # MOV operation
ref_53115 = ((ref_53101 - ref_53113) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_53123 = ref_53115 # MOV operation
ref_53678 = ref_53123 # MOV operation
ref_64775 = ref_278 # MOV operation
ref_65372 = ref_64775 # MOV operation
ref_65386 = ((ref_65372 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_65394 = ref_65386 # MOV operation
ref_65949 = ref_65394 # MOV operation
ref_76547 = ref_25124 # MOV operation
ref_77182 = ref_76547 # MOV operation
ref_77196 = ((0x20453EE3 + ref_77182) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_82971 = ref_278 # MOV operation
ref_83568 = ref_82971 # MOV operation
ref_83580 = ref_77196 # MOV operation
ref_83582 = ((ref_83568 - ref_83580) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_83590 = ref_83582 # MOV operation
ref_84145 = ref_83590 # MOV operation
ref_101106 = ref_25124 # MOV operation
ref_108493 = ref_65949 # MOV operation
ref_109090 = ref_108493 # MOV operation
ref_109102 = ref_101106 # MOV operation
ref_109104 = (ref_109102 | ref_109090) # OR operation
ref_110409 = ref_109104 # MOV operation
ref_110415 = (0x3F & ref_110409) # AND operation
ref_111898 = ref_110415 # MOV operation
ref_111906 = ((ref_111898 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_111913 = ref_111906 # MOV operation
ref_117862 = ref_25124 # MOV operation
ref_118459 = ref_117862 # MOV operation
ref_118471 = ref_111913 # MOV operation
ref_118473 = (ref_118471 | ref_118459) # OR operation
ref_119033 = ref_118473 # MOV operation
ref_130985 = ref_53678 # MOV operation
ref_137697 = ref_119033 # MOV operation
ref_138831 = ref_137697 # MOV operation
ref_138839 = (ref_138831 >> (0x1 & 0x3F)) # SHR operation
ref_138846 = ref_138839 # MOV operation
ref_140146 = ref_138846 # MOV operation
ref_140152 = (0xF & ref_140146) # AND operation
ref_140774 = ref_140152 # MOV operation
ref_140788 = (0x1 | ref_140774) # OR operation
ref_142205 = ref_140788 # MOV operation
ref_142207 = ((0x40 - ref_142205) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_142215 = ref_142207 # MOV operation
ref_142910 = ref_130985 # MOV operation
ref_142914 = ref_142215 # MOV operation
ref_142916 = (ref_142914 & 0xFFFFFFFF) # MOV operation
ref_142918 = ((ref_142910 << ((ref_142916 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_142925 = ref_142918 # MOV operation
ref_148195 = ref_53678 # MOV operation
ref_154907 = ref_119033 # MOV operation
ref_156041 = ref_154907 # MOV operation
ref_156049 = (ref_156041 >> (0x1 & 0x3F)) # SHR operation
ref_156056 = ref_156049 # MOV operation
ref_157356 = ref_156056 # MOV operation
ref_157362 = (0xF & ref_157356) # AND operation
ref_157984 = ref_157362 # MOV operation
ref_157998 = (0x1 | ref_157984) # OR operation
ref_158374 = ref_148195 # MOV operation
ref_158378 = ref_157998 # MOV operation
ref_158380 = (ref_158378 & 0xFFFFFFFF) # MOV operation
ref_158382 = (ref_158374 >> ((ref_158380 & 0xFF) & 0x3F)) # SHR operation
ref_158389 = ref_158382 # MOV operation
ref_159006 = ref_158389 # MOV operation
ref_159018 = ref_142925 # MOV operation
ref_159020 = (ref_159018 | ref_159006) # OR operation
ref_159580 = ref_159020 # MOV operation
ref_169395 = ref_84145 # MOV operation
ref_176782 = ref_159580 # MOV operation
ref_177379 = ref_176782 # MOV operation
ref_177391 = ref_169395 # MOV operation
ref_177393 = ((ref_177379 - ref_177391) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_177401 = ref_177393 # MOV operation
ref_177956 = ref_177401 # MOV operation
ref_196683 = ref_119033 # MOV operation
ref_202716 = ref_53678 # MOV operation
ref_203996 = ref_202716 # MOV operation
ref_204002 = (0xF & ref_203996) # AND operation
ref_204624 = ref_204002 # MOV operation
ref_204638 = (0x1 | ref_204624) # OR operation
ref_206055 = ref_204638 # MOV operation
ref_206057 = ((0x40 - ref_206055) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_206065 = ref_206057 # MOV operation
ref_206760 = ref_196683 # MOV operation
ref_206764 = ref_206065 # MOV operation
ref_206766 = (ref_206764 & 0xFFFFFFFF) # MOV operation
ref_206768 = ((ref_206760 << ((ref_206766 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_206775 = ref_206768 # MOV operation
ref_212045 = ref_119033 # MOV operation
ref_218078 = ref_53678 # MOV operation
ref_219358 = ref_218078 # MOV operation
ref_219364 = (0xF & ref_219358) # AND operation
ref_219986 = ref_219364 # MOV operation
ref_220000 = (0x1 | ref_219986) # OR operation
ref_220376 = ref_212045 # MOV operation
ref_220380 = ref_220000 # MOV operation
ref_220382 = (ref_220380 & 0xFFFFFFFF) # MOV operation
ref_220384 = (ref_220376 >> ((ref_220382 & 0xFF) & 0x3F)) # SHR operation
ref_220391 = ref_220384 # MOV operation
ref_221008 = ref_220391 # MOV operation
ref_221020 = ref_206775 # MOV operation
ref_221022 = (ref_221020 | ref_221008) # OR operation
ref_227080 = ref_84145 # MOV operation
ref_232330 = ref_177956 # MOV operation
ref_232927 = ref_232330 # MOV operation
ref_232939 = ref_227080 # MOV operation
ref_232941 = (ref_232939 | ref_232927) # OR operation
ref_234100 = ref_232941 # MOV operation
ref_234108 = (ref_234100 >> (0x1 & 0x3F)) # SHR operation
ref_234115 = ref_234108 # MOV operation
ref_235415 = ref_234115 # MOV operation
ref_235421 = (0x7 & ref_235415) # AND operation
ref_236043 = ref_235421 # MOV operation
ref_236057 = (0x1 | ref_236043) # OR operation
ref_236757 = ref_221022 # MOV operation
ref_236761 = ref_236057 # MOV operation
ref_236763 = (ref_236761 & 0xFFFFFFFF) # MOV operation
ref_236765 = ((ref_236757 << ((ref_236763 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_236772 = ref_236765 # MOV operation
ref_237327 = ref_236772 # MOV operation
ref_238326 = ref_237327 # MOV operation
ref_238328 = ref_238326 # MOV operation

print ref_238328 & 0xffffffffffffffff
