#!/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_7360 = ref_278 # MOV operation
ref_7636 = ref_7360 # MOV operation
ref_7654 = (ref_7636 >> (0x5 & 0x3F)) # SHR operation
ref_7661 = ref_7654 # MOV operation
ref_8319 = ref_7661 # MOV operation
ref_8327 = (0x1376783EF7559EA & ref_8319) # AND operation
ref_10909 = ref_8327 # MOV operation
ref_10911 = ((ref_10909 >> 56) & 0xFF) # Byte reference - MOV operation
ref_10912 = ((ref_10909 >> 48) & 0xFF) # Byte reference - MOV operation
ref_10913 = ((ref_10909 >> 40) & 0xFF) # Byte reference - MOV operation
ref_10914 = ((ref_10909 >> 32) & 0xFF) # Byte reference - MOV operation
ref_10915 = ((ref_10909 >> 24) & 0xFF) # Byte reference - MOV operation
ref_10916 = ((ref_10909 >> 16) & 0xFF) # Byte reference - MOV operation
ref_10917 = ((ref_10909 >> 8) & 0xFF) # Byte reference - MOV operation
ref_10918 = (ref_10909 & 0xFF) # Byte reference - MOV operation
ref_13389 = ref_278 # MOV operation
ref_14021 = ref_13389 # MOV operation
ref_14029 = (0x1A5612E2 | ref_14021) # OR operation
ref_16577 = ref_10909 # MOV operation
ref_17177 = ref_16577 # MOV operation
ref_17185 = (0x7063FB7 & ref_17177) # AND operation
ref_17498 = ref_14029 # MOV operation
ref_17504 = ref_17185 # MOV operation
ref_17506 = ((ref_17504 + ref_17498) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_20081 = ref_17506 # MOV operation
ref_20083 = ((ref_20081 >> 56) & 0xFF) # Byte reference - MOV operation
ref_20084 = ((ref_20081 >> 48) & 0xFF) # Byte reference - MOV operation
ref_20085 = ((ref_20081 >> 40) & 0xFF) # Byte reference - MOV operation
ref_20086 = ((ref_20081 >> 32) & 0xFF) # Byte reference - MOV operation
ref_20087 = ((ref_20081 >> 24) & 0xFF) # Byte reference - MOV operation
ref_20088 = ((ref_20081 >> 16) & 0xFF) # Byte reference - MOV operation
ref_20089 = ((ref_20081 >> 8) & 0xFF) # Byte reference - MOV operation
ref_20090 = (ref_20081 & 0xFF) # Byte reference - MOV operation
ref_22936 = ref_278 # MOV operation
ref_23222 = ref_22936 # MOV operation
ref_23238 = ((ref_23222 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_23246 = ref_23238 # MOV operation
ref_26764 = ref_20081 # MOV operation
ref_27070 = ref_26764 # MOV operation
ref_27088 = (ref_27070 >> (0x3 & 0x3F)) # SHR operation
ref_27095 = ref_27088 # MOV operation
ref_27701 = ref_27095 # MOV operation
ref_27709 = (0xF & ref_27701) # AND operation
ref_28332 = ref_27709 # MOV operation
ref_28340 = (0x1 | ref_28332) # OR operation
ref_28659 = ref_28340 # MOV operation
ref_28661 = (ref_28659 & 0xFFFFFFFF) # MOV operation
ref_28663 = ((0x3162E74F << ((ref_28661 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_28670 = ref_28663 # MOV operation
ref_31556 = ref_20081 # MOV operation
ref_31846 = ref_31556 # MOV operation
ref_31864 = (ref_31846 >> (0x3 & 0x3F)) # SHR operation
ref_31871 = ref_31864 # MOV operation
ref_32511 = ref_31871 # MOV operation
ref_32519 = (0xF & ref_32511) # AND operation
ref_33167 = ref_32519 # MOV operation
ref_33175 = (0x1 | ref_33167) # OR operation
ref_33826 = ref_33175 # MOV operation
ref_33828 = ((0x40 - ref_33826) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_33836 = ref_33828 # MOV operation
ref_34485 = ref_33836 # MOV operation
ref_34487 = (ref_34485 & 0xFFFFFFFF) # MOV operation
ref_34489 = (0x3162E74F >> ((ref_34487 & 0xFF) & 0x3F)) # SHR operation
ref_34496 = ref_34489 # MOV operation
ref_34828 = ref_28670 # MOV operation
ref_34834 = ref_34496 # MOV operation
ref_34836 = (ref_34834 | ref_34828) # OR operation
ref_35109 = ref_34836 # MOV operation
ref_35127 = (ref_35109 >> (0x4 & 0x3F)) # SHR operation
ref_35134 = ref_35127 # MOV operation
ref_35769 = ref_35134 # MOV operation
ref_35777 = (0x7 & ref_35769) # AND operation
ref_36432 = ref_35777 # MOV operation
ref_36440 = (0x1 | ref_36432) # OR operation
ref_36721 = ref_23246 # MOV operation
ref_36727 = ref_36440 # MOV operation
ref_36729 = (ref_36727 & 0xFFFFFFFF) # MOV operation
ref_36731 = ((ref_36721 << ((ref_36729 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_36738 = ref_36731 # MOV operation
ref_39358 = ref_36738 # MOV operation
ref_42155 = ref_278 # MOV operation
ref_42445 = ref_42155 # MOV operation
ref_42461 = ((ref_42445 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_42469 = ref_42461 # MOV operation
ref_45088 = ref_42469 # MOV operation
ref_50449 = ref_45088 # MOV operation
ref_53955 = ref_20081 # MOV operation
ref_54580 = ref_53955 # MOV operation
ref_54588 = (0xF & ref_54580) # AND operation
ref_55233 = ref_54588 # MOV operation
ref_55243 = ((ref_55233 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_55250 = ref_55243 # MOV operation
ref_55568 = ref_50449 # MOV operation
ref_55574 = ref_55250 # MOV operation
ref_55576 = (ref_55574 | ref_55568) # OR operation
ref_58134 = ref_55576 # MOV operation
ref_60733 = ref_39358 # MOV operation
ref_63237 = ref_58134 # MOV operation
ref_63852 = ref_63237 # MOV operation
ref_63860 = (0x1F & ref_63852) # AND operation
ref_64506 = ref_63860 # MOV operation
ref_64516 = ((ref_64506 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_64523 = ref_64516 # MOV operation
ref_64841 = ref_60733 # MOV operation
ref_64847 = ref_64523 # MOV operation
ref_64849 = (ref_64847 | ref_64841) # OR operation
ref_67486 = ref_64849 # MOV operation
ref_70022 = ref_58134 # MOV operation
ref_73532 = ref_20081 # MOV operation
ref_74132 = ref_73532 # MOV operation
ref_74140 = (0xF & ref_74132) # AND operation
ref_74790 = ref_74140 # MOV operation
ref_74800 = ((ref_74790 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_74807 = ref_74800 # MOV operation
ref_75123 = ref_70022 # MOV operation
ref_75129 = ref_74807 # MOV operation
ref_75131 = (ref_75129 | ref_75123) # OR operation
ref_77699 = ref_75131 # MOV operation
ref_84061 = ref_77699 # MOV operation
ref_87550 = ref_77699 # MOV operation
ref_88132 = ref_87550 # MOV operation
ref_88140 = (0xF & ref_88132) # AND operation
ref_88781 = ref_88140 # MOV operation
ref_88791 = ((ref_88781 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_88798 = ref_88791 # MOV operation
ref_89100 = ref_84061 # MOV operation
ref_89106 = ref_88798 # MOV operation
ref_89108 = (ref_89106 | ref_89100) # OR operation
ref_91668 = ref_89108 # MOV operation
ref_94213 = ref_67486 # MOV operation
ref_96742 = ref_91668 # MOV operation
ref_97360 = ref_96742 # MOV operation
ref_97368 = (0x1F & ref_97360) # AND operation
ref_98009 = ref_97368 # MOV operation
ref_98019 = ((ref_98009 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_98026 = ref_98019 # MOV operation
ref_98330 = ref_94213 # MOV operation
ref_98336 = ref_98026 # MOV operation
ref_98338 = (ref_98336 | ref_98330) # OR operation
ref_100857 = ref_98338 # MOV operation
ref_100859 = ((ref_100857 >> 56) & 0xFF) # Byte reference - MOV operation
ref_100860 = ((ref_100857 >> 48) & 0xFF) # Byte reference - MOV operation
ref_100861 = ((ref_100857 >> 40) & 0xFF) # Byte reference - MOV operation
ref_100862 = ((ref_100857 >> 32) & 0xFF) # Byte reference - MOV operation
ref_100863 = ((ref_100857 >> 24) & 0xFF) # Byte reference - MOV operation
ref_100864 = ((ref_100857 >> 16) & 0xFF) # Byte reference - MOV operation
ref_100865 = ((ref_100857 >> 8) & 0xFF) # Byte reference - MOV operation
ref_100866 = (ref_100857 & 0xFF) # Byte reference - MOV operation
ref_103404 = ref_91668 # MOV operation
ref_106881 = ref_91668 # MOV operation
ref_107510 = ref_106881 # MOV operation
ref_107518 = (0xF & ref_107510) # AND operation
ref_108133 = ref_107518 # MOV operation
ref_108143 = ((ref_108133 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_108150 = ref_108143 # MOV operation
ref_108458 = ref_103404 # MOV operation
ref_108464 = ref_108150 # MOV operation
ref_108466 = (ref_108464 | ref_108458) # OR operation
ref_111021 = ref_108466 # MOV operation
ref_131219 = ref_111021 # MOV operation
ref_133743 = ref_100857 # MOV operation
ref_136251 = ref_100857 # MOV operation
ref_136545 = ref_133743 # MOV operation
ref_136551 = ref_136251 # MOV operation
ref_136553 = ((ref_136551 + ref_136545) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_137189 = ref_136553 # MOV operation
ref_137197 = (0x7 & ref_137189) # AND operation
ref_137784 = ref_137197 # MOV operation
ref_137794 = ((ref_137784 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_137801 = ref_137794 # MOV operation
ref_138113 = ref_131219 # MOV operation
ref_138119 = ref_137801 # MOV operation
ref_138121 = (ref_138119 | ref_138113) # OR operation
ref_140607 = ref_138121 # MOV operation
ref_145017 = ((((ref_100859) << 8 | ref_100860) << 8 | ref_100861) << 8 | ref_100862) # MOV operation
ref_145657 = (ref_145017 & 0xFFFFFFFF) # MOV operation
ref_150027 = ((((ref_100863) << 8 | ref_100864) << 8 | ref_100865) << 8 | ref_100866) # MOV operation
ref_154463 = (ref_150027 & 0xFFFFFFFF) # MOV operation
ref_154465 = (((ref_154463 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_154466 = (((ref_154463 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_154467 = (((ref_154463 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_154468 = ((ref_154463 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_155081 = (ref_145657 & 0xFFFFFFFF) # MOV operation
ref_159506 = (ref_155081 & 0xFFFFFFFF) # MOV operation
ref_159508 = (((ref_159506 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_159509 = (((ref_159506 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_159510 = (((ref_159506 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_159511 = ((ref_159506 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_164290 = ref_10913 # MOVZX operation
ref_164540 = (ref_164290 & 0xFF) # MOVZX operation
ref_173108 = ref_10914 # MOVZX operation
ref_173394 = (ref_173108 & 0xFF) # MOVZX operation
ref_173396 = (ref_173394 & 0xFF) # Byte reference - MOV operation
ref_178114 = (ref_164540 & 0xFF) # MOVZX operation
ref_178408 = (ref_178114 & 0xFF) # MOVZX operation
ref_178410 = (ref_178408 & 0xFF) # Byte reference - MOV operation
ref_183146 = ref_10912 # MOVZX operation
ref_183438 = (ref_183146 & 0xFF) # MOVZX operation
ref_191947 = ref_10918 # MOVZX operation
ref_192229 = (ref_191947 & 0xFF) # MOVZX operation
ref_192231 = (ref_192229 & 0xFF) # Byte reference - MOV operation
ref_197009 = (ref_183438 & 0xFF) # MOVZX operation
ref_197300 = (ref_197009 & 0xFF) # MOVZX operation
ref_197302 = (ref_197300 & 0xFF) # Byte reference - MOV operation
ref_201722 = ((((ref_20087) << 8 | ref_20088) << 8 | ref_20089) << 8 | ref_20090) # MOV operation
ref_202347 = (ref_201722 & 0xFFFFFFFF) # MOV operation
ref_206751 = ((((ref_20083) << 8 | ref_20084) << 8 | ref_20085) << 8 | ref_20086) # MOV operation
ref_211137 = (ref_206751 & 0xFFFFFFFF) # MOV operation
ref_211139 = (((ref_211137 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_211140 = (((ref_211137 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_211141 = (((ref_211137 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_211142 = ((ref_211137 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_211795 = (ref_202347 & 0xFFFFFFFF) # MOV operation
ref_216193 = (ref_211795 & 0xFFFFFFFF) # MOV operation
ref_216195 = (((ref_216193 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_216196 = (((ref_216193 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_216197 = (((ref_216193 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_216198 = ((ref_216193 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_222112 = ((((((((ref_216195) << 8 | ref_216196) << 8 | ref_216197) << 8 | ref_216198) << 8 | ref_211139) << 8 | ref_211140) << 8 | ref_211141) << 8 | ref_211142) # MOV operation
ref_225585 = ((((((((ref_10911) << 8 | ref_192231) << 8 | ref_173396) << 8 | ref_178410) << 8 | ref_10915) << 8 | ref_10916) << 8 | ref_10917) << 8 | ref_197302) # MOV operation
ref_226203 = ref_225585 # MOV operation
ref_226211 = (0x3F & ref_226203) # AND operation
ref_226848 = ref_226211 # MOV operation
ref_226858 = ((ref_226848 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_226865 = ref_226858 # MOV operation
ref_227151 = ref_222112 # MOV operation
ref_227157 = ref_226865 # MOV operation
ref_227159 = (ref_227157 | ref_227151) # OR operation
ref_230010 = ref_227159 # MOV operation
ref_236887 = ((((((((ref_154465) << 8 | ref_154466) << 8 | ref_154467) << 8 | ref_154468) << 8 | ref_159508) << 8 | ref_159509) << 8 | ref_159510) << 8 | ref_159511) # MOV operation
ref_239729 = ref_230010 # MOV operation
ref_240019 = ref_239729 # MOV operation
ref_240037 = (ref_240019 >> (0x3 & 0x3F)) # SHR operation
ref_240044 = ref_240037 # MOV operation
ref_240642 = ref_240044 # MOV operation
ref_240650 = (0xF & ref_240642) # AND operation
ref_241297 = ref_240650 # MOV operation
ref_241305 = (0x1 | ref_241297) # OR operation
ref_243872 = ref_140607 # MOV operation
ref_244122 = ref_243872 # MOV operation
ref_244136 = ref_241305 # MOV operation
ref_244138 = (ref_244136 & 0xFFFFFFFF) # MOV operation
ref_244140 = (ref_244122 >> ((ref_244138 & 0xFF) & 0x3F)) # SHR operation
ref_244147 = ref_244140 # MOV operation
ref_246709 = ref_140607 # MOV operation
ref_249578 = ref_230010 # MOV operation
ref_249838 = ref_249578 # MOV operation
ref_249856 = (ref_249838 >> (0x3 & 0x3F)) # SHR operation
ref_249863 = ref_249856 # MOV operation
ref_250521 = ref_249863 # MOV operation
ref_250529 = (0xF & ref_250521) # AND operation
ref_251128 = ref_250529 # MOV operation
ref_251136 = (0x1 | ref_251128) # OR operation
ref_251775 = ref_251136 # MOV operation
ref_251777 = ((0x40 - ref_251775) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_251785 = ref_251777 # MOV operation
ref_252071 = ref_246709 # MOV operation
ref_252077 = ref_251785 # MOV operation
ref_252079 = (ref_252077 & 0xFFFFFFFF) # MOV operation
ref_252081 = ((ref_252071 << ((ref_252079 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_252088 = ref_252081 # MOV operation
ref_252396 = ref_244147 # MOV operation
ref_252402 = ref_252088 # MOV operation
ref_252404 = (ref_252402 | ref_252396) # OR operation
ref_253019 = ref_252404 # MOV operation
ref_253027 = (0xF & ref_253019) # AND operation
ref_253676 = ref_253027 # MOV operation
ref_253686 = ((ref_253676 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_253693 = ref_253686 # MOV operation
ref_254009 = ref_236887 # MOV operation
ref_254015 = ref_253693 # MOV operation
ref_254017 = (ref_254015 | ref_254009) # OR operation
ref_256592 = ref_254017 # MOV operation
ref_259165 = ((((((((ref_10911) << 8 | ref_192231) << 8 | ref_173396) << 8 | ref_178410) << 8 | ref_10915) << 8 | ref_10916) << 8 | ref_10917) << 8 | ref_197302) # MOV operation
ref_262007 = ref_230010 # MOV operation
ref_262257 = ref_262007 # MOV operation
ref_262275 = (ref_262257 >> (0x3 & 0x3F)) # SHR operation
ref_262282 = ref_262275 # MOV operation
ref_262916 = ref_262282 # MOV operation
ref_262924 = (0x7 & ref_262916) # AND operation
ref_263527 = ref_262924 # MOV operation
ref_263535 = (0x1 | ref_263527) # OR operation
ref_263848 = ref_259165 # MOV operation
ref_263854 = ref_263535 # MOV operation
ref_263856 = (ref_263854 & 0xFFFFFFFF) # MOV operation
ref_263858 = ((ref_263848 << ((ref_263856 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_263865 = ref_263858 # MOV operation
ref_266375 = ref_256592 # MOV operation
ref_268818 = ref_140607 # MOV operation
ref_269124 = ref_266375 # MOV operation
ref_269130 = ref_268818 # MOV operation
ref_269132 = (ref_269130 | ref_269124) # OR operation
ref_269445 = ref_263865 # MOV operation
ref_269451 = ref_269132 # MOV operation
ref_269453 = (ref_269451 | ref_269445) # OR operation
ref_271955 = ref_269453 # MOV operation
ref_272579 = ref_271955 # MOV operation
ref_272581 = ref_272579 # MOV operation

print ref_272581 & 0xffffffffffffffff
