#!/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_848 = SymVar_0
ref_1010 = ref_848 # MOV operation
ref_7847 = ref_1010 # MOV operation
ref_8033 = ref_7847 # MOV operation
ref_8041 = ref_8033 # MOV operation
ref_8043 = (ref_8041 & 0xFFFFFFFFCD5C8BFD) # AND operation
ref_8060 = ref_7847 # MOV operation
ref_8068 = (0xFFFFFFFFCD5C8BFD & ref_8060) # AND operation
ref_8075 = ((ref_8043 + ref_8068) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8093 = ref_7847 # MOV operation
ref_8099 = (0x32A37402 ^ ref_8093) # XOR operation
ref_8106 = ref_8075 # MOV operation
ref_8108 = ((ref_8106 - ref_8099) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_8116 = ref_8108 # MOV operation
ref_13799 = ref_8116 # MOV operation
ref_24123 = ref_13799 # MOV operation
ref_25032 = ref_24123 # MOV operation
ref_25040 = ref_25032 # MOV operation
ref_25044 = (ref_25040 >> (0x3 & 0x3F)) # SHR operation
ref_25051 = ref_25044 # MOV operation
ref_25944 = ref_25051 # MOV operation
ref_25946 = ref_25944 # MOV operation
ref_25948 = (~(ref_25946) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_25954 = (ref_25948 | 0x7) # OR operation
ref_25971 = ref_25051 # MOV operation
ref_25973 = ((ref_25971 + ref_25954) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_25981 = ((ref_25973 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_26248 = ref_25981 # MOV operation
ref_26264 = (0xFFFFFFFFFFFFFFFE & ref_26248) # AND operation
ref_26283 = ((0x1 + ref_26264) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_33031 = ref_1010 # MOV operation
ref_33100 = ref_33031 # MOV operation
ref_33112 = ref_26283 # MOV operation
ref_33114 = ref_33100 # MOV operation
ref_33116 = (ref_33112 & 0xFFFFFFFF) # MOV operation
ref_33118 = ((ref_33114 << ((ref_33116 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_33125 = ref_33118 # MOV operation
ref_33722 = ref_33125 # MOV operation
ref_61531 = ref_1010 # MOV operation
ref_62298 = ref_61531 # MOV operation
ref_62308 = (ref_62298 & 0xFFFFFFFFDB7E09B7) # AND operation
ref_62321 = ((0x2481F648 + ref_62308) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_66802 = ref_13799 # MOV operation
ref_67528 = ref_66802 # MOV operation
ref_67536 = ref_67528 # MOV operation
ref_67540 = ((ref_67536 << (0x9 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_67547 = ref_67540 # MOV operation
ref_72742 = ref_13799 # MOV operation
ref_73651 = ref_72742 # MOV operation
ref_73659 = ref_73651 # MOV operation
ref_73663 = (ref_73659 >> (0x37 & 0x3F)) # SHR operation
ref_73670 = ref_73663 # MOV operation
ref_75035 = ref_67547 # MOV operation
ref_75041 = ref_73670 # MOV operation
ref_75043 = (~(ref_75041) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_75045 = (ref_75035 & ref_75043) # AND operation
ref_75056 = ref_73670 # MOV operation
ref_75058 = ((ref_75056 + ref_75045) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_76101 = ref_75058 # MOV operation
ref_76103 = (ref_76101 | 0x3B92514D) # OR operation
ref_76110 = ((0x0 + ((ref_76103 + ((ref_76103 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
ref_76130 = ref_75058 # MOV operation
ref_76132 = (ref_76130 ^ 0x3B92514D) # XOR operation
ref_76139 = ref_76110 # MOV operation
ref_76141 = ((ref_76139 - ref_76132) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_76149 = ref_76141 # MOV operation
ref_76596 = ref_62321 # MOV operation
ref_76600 = ref_76149 # MOV operation
ref_76602 = (~(ref_76600) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_76604 = ref_76596 # MOV operation
ref_76606 = (ref_76604 & ref_76602) # AND operation
ref_76623 = ref_62321 # MOV operation
ref_76627 = ref_76149 # MOV operation
ref_76629 = (~(ref_76627) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_76631 = (ref_76629 & ref_76623) # AND operation
ref_76638 = ((ref_76606 + ref_76631) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_76656 = ref_62321 # MOV operation
ref_76660 = ref_76149 # MOV operation
ref_76662 = (ref_76660 ^ ref_76656) # XOR operation
ref_76669 = ref_76638 # MOV operation
ref_76671 = ((ref_76669 - ref_76662) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_76679 = ref_76671 # MOV operation
ref_77276 = ref_76679 # MOV operation
ref_77278 = ((ref_77276 >> 56) & 0xFF) # Byte reference - MOV operation
ref_77279 = ((ref_77276 >> 48) & 0xFF) # Byte reference - MOV operation
ref_77280 = ((ref_77276 >> 40) & 0xFF) # Byte reference - MOV operation
ref_77281 = ((ref_77276 >> 32) & 0xFF) # Byte reference - MOV operation
ref_77282 = ((ref_77276 >> 24) & 0xFF) # Byte reference - MOV operation
ref_77283 = ((ref_77276 >> 16) & 0xFF) # Byte reference - MOV operation
ref_77284 = ((ref_77276 >> 8) & 0xFF) # Byte reference - MOV operation
ref_77285 = (ref_77276 & 0xFF) # Byte reference - MOV operation
ref_122459 = ref_33722 # MOV operation
ref_126198 = ref_33722 # MOV operation
ref_127089 = ref_126198 # MOV operation
ref_127103 = ref_122459 # MOV operation
ref_127105 = (ref_127103 | ref_127089) # OR operation
ref_127112 = ((0x0 + ((ref_127105 + ((ref_127105 * 0x1) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF)) & 0xFFFFFFFFFFFFFFFF) # LEA operation
ref_127118 = ref_126198 # MOV operation
ref_127132 = ref_122459 # MOV operation
ref_127134 = (ref_127132 ^ ref_127118) # XOR operation
ref_127141 = ref_127112 # MOV operation
ref_127143 = ((ref_127141 - ref_127134) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_127151 = ref_127143 # MOV operation
ref_134265 = ref_127151 # MOV operation
ref_147241 = ref_77284 # MOVZX operation
ref_148420 = (ref_147241 & 0xFF) # MOVZX operation
ref_157416 = ref_77285 # MOVZX operation
ref_164722 = (ref_157416 & 0xFF) # MOVZX operation
ref_164724 = (ref_164722 & 0xFF) # Byte reference - MOV operation
ref_165499 = (ref_148420 & 0xFF) # MOVZX operation
ref_173851 = (ref_165499 & 0xFF) # MOVZX operation
ref_173853 = (ref_173851 & 0xFF) # Byte reference - MOV operation
ref_182675 = ref_13799 # MOV operation
ref_187393 = ref_33722 # MOV operation
ref_188302 = ref_187393 # MOV operation
ref_188310 = ref_188302 # MOV operation
ref_188314 = (ref_188310 >> (0x2 & 0x3F)) # SHR operation
ref_188321 = ref_188314 # MOV operation
ref_189214 = ref_188321 # MOV operation
ref_189216 = ref_189214 # MOV operation
ref_189218 = (~(ref_189216) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_189224 = (ref_189218 | 0x7) # OR operation
ref_189241 = ref_188321 # MOV operation
ref_189243 = ((ref_189241 + ref_189224) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_189251 = ((ref_189243 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_189518 = ref_189251 # MOV operation
ref_189534 = (0xFFFFFFFFFFFFFFFE & ref_189518) # AND operation
ref_189553 = ((0x1 + ref_189534) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_190196 = ref_182675 # MOV operation
ref_190202 = ref_189553 # MOV operation
ref_190204 = ref_190196 # MOV operation
ref_190206 = (ref_190202 & 0xFFFFFFFF) # MOV operation
ref_190208 = ((ref_190204 << ((ref_190206 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_190215 = ref_190208 # MOV operation
ref_195410 = ref_134265 # MOV operation
ref_200080 = ((((((((ref_77278) << 8 | ref_77279) << 8 | ref_77280) << 8 | ref_77281) << 8 | ref_77282) << 8 | ref_77283) << 8 | ref_164724) << 8 | ref_173853) # MOV operation
ref_200989 = ref_200080 # MOV operation
ref_200997 = ref_200989 # MOV operation
ref_201001 = (ref_200997 >> (0x2 & 0x3F)) # SHR operation
ref_201008 = ref_201001 # MOV operation
ref_201901 = ref_201008 # MOV operation
ref_201903 = ref_201901 # MOV operation
ref_201905 = (~(ref_201903) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_201911 = (ref_201905 | 0xF) # OR operation
ref_201928 = ref_201008 # MOV operation
ref_201930 = ((ref_201928 + ref_201911) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_201938 = ((ref_201930 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_202205 = ref_201938 # MOV operation
ref_202221 = (0xFFFFFFFFFFFFFFFE & ref_202205) # AND operation
ref_202240 = ((0x1 + ref_202221) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_202347 = ref_202240 # MOV operation
ref_202349 = (~(ref_202347) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_202353 = (0x40 & ref_202349) # AND operation
ref_202374 = ref_202240 # MOV operation
ref_202376 = (~(ref_202374) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_202378 = (ref_202376 & 0x40) # AND operation
ref_202385 = ((ref_202353 + ref_202378) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_202407 = ref_202240 # MOV operation
ref_202409 = (ref_202407 ^ 0x40) # XOR operation
ref_202416 = ref_202385 # MOV operation
ref_202418 = ((ref_202416 - ref_202409) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_202426 = ref_202418 # MOV operation
ref_203063 = ref_195410 # MOV operation
ref_203069 = ref_202426 # MOV operation
ref_203071 = ref_203063 # MOV operation
ref_203073 = (ref_203069 & 0xFFFFFFFF) # MOV operation
ref_203075 = ((ref_203071 << ((ref_203073 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_203082 = ref_203075 # MOV operation
ref_208151 = ref_134265 # MOV operation
ref_212603 = ((((((((ref_77278) << 8 | ref_77279) << 8 | ref_77280) << 8 | ref_77281) << 8 | ref_77282) << 8 | ref_77283) << 8 | ref_164724) << 8 | ref_173853) # MOV operation
ref_213512 = ref_212603 # MOV operation
ref_213520 = ref_213512 # MOV operation
ref_213524 = (ref_213520 >> (0x2 & 0x3F)) # SHR operation
ref_213531 = ref_213524 # MOV operation
ref_214424 = ref_213531 # MOV operation
ref_214426 = ref_214424 # MOV operation
ref_214428 = (~(ref_214426) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_214434 = (ref_214428 | 0xF) # OR operation
ref_214451 = ref_213531 # MOV operation
ref_214453 = ((ref_214451 + ref_214434) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_214461 = ((ref_214453 + 0x1) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_215254 = ref_214461 # MOV operation
ref_215264 = (ref_215254 & 0xFFFFFFFFFFFFFFFE) # AND operation
ref_215277 = ((0x1 + ref_215264) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_216106 = ref_208151 # MOV operation
ref_216112 = ref_215277 # MOV operation
ref_216114 = ref_216106 # MOV operation
ref_216116 = (ref_216112 & 0xFFFFFFFF) # MOV operation
ref_216118 = (ref_216114 >> ((ref_216116 & 0xFF) & 0x3F)) # SHR operation
ref_216125 = ref_216118 # MOV operation
ref_217073 = ref_216125 # MOV operation
ref_217085 = ref_203082 # MOV operation
ref_217087 = (~(ref_217085) & 0xFFFFFFFFFFFFFFFF) # NOT operation
ref_217089 = (ref_217087 & ref_217073) # AND operation
ref_217106 = ref_203082 # MOV operation
ref_217108 = ((ref_217106 + ref_217089) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_217743 = ref_190215 # MOV operation
ref_217749 = ref_217108 # MOV operation
ref_217751 = ref_217743 # MOV operation
ref_217753 = (ref_217751 ^ ref_217749) # XOR operation
ref_217772 = ref_190215 # MOV operation
ref_217778 = ref_217108 # MOV operation
ref_217780 = ref_217772 # MOV operation
ref_217782 = (ref_217780 & ref_217778) # AND operation
ref_217801 = ref_190215 # MOV operation
ref_217807 = ref_217108 # MOV operation
ref_217809 = (ref_217807 & ref_217801) # AND operation
ref_217816 = ((ref_217809 + ref_217782) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_217824 = ((ref_217816 + ref_217753) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_218728 = ref_217824 # MOV operation
ref_219248 = ref_218728 # MOV operation
ref_219250 = ref_219248 # MOV operation

print ref_219250 & 0xffffffffffffffff
