#!/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_269 = SymVar_0
ref_284 = ref_269 # MOV operation
ref_13187 = ref_284 # MOV operation
ref_13610 = ref_13187 # MOV operation
ref_13624 = (0x1F02C962 | ref_13610) # OR operation
ref_14639 = ref_13624 # MOV operation
ref_14645 = (0x1F8797B2 & ref_14639) # AND operation
ref_18477 = ref_14645 # MOV operation
ref_22489 = ref_284 # MOV operation
ref_26351 = ref_18477 # MOV operation
ref_26813 = ref_22489 # MOV operation
ref_26817 = ref_26351 # MOV operation
ref_26819 = (ref_26817 & ref_26813) # AND operation
ref_30651 = ref_26819 # MOV operation
ref_34561 = ref_30651 # MOV operation
ref_35483 = ref_34561 # MOV operation
ref_35491 = ((ref_35483 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_35498 = ref_35491 # MOV operation
ref_39416 = ref_30651 # MOV operation
ref_40374 = ref_39416 # MOV operation
ref_40382 = (ref_40374 >> (0x7 & 0x3F)) # SHR operation
ref_40389 = ref_40382 # MOV operation
ref_40819 = ref_40389 # MOV operation
ref_40831 = ref_35498 # MOV operation
ref_40833 = (ref_40831 | ref_40819) # OR operation
ref_44855 = ref_284 # MOV operation
ref_45781 = ref_44855 # MOV operation
ref_45787 = (((sx(0x40, 0x66AF1DF) * sx(0x40, ref_45781)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_46254 = ref_45787 # MOV operation
ref_46266 = ref_40833 # MOV operation
ref_46268 = ((ref_46266 + ref_46254) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_50106 = ref_46268 # MOV operation
ref_87917 = ref_50106 # MOV operation
ref_93231 = ref_50106 # MOV operation
ref_93677 = ref_93231 # MOV operation
ref_93689 = ref_87917 # MOV operation
ref_93691 = ((ref_93689 + ref_93677) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_97529 = ref_93691 # MOV operation
ref_101905 = ref_30651 # MOV operation
ref_102862 = ref_101905 # MOV operation
ref_102868 = (0x7 & ref_102862) # AND operation
ref_103815 = ref_102868 # MOV operation
ref_103823 = ((ref_103815 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_103830 = ref_103823 # MOV operation
ref_109200 = ref_50106 # MOV operation
ref_109623 = ref_109200 # MOV operation
ref_109635 = ref_103830 # MOV operation
ref_109637 = (ref_109635 | ref_109623) # OR operation
ref_114954 = ref_109637 # MOV operation
ref_114956 = ((ref_114954 >> 56) & 0xFF) # Byte reference - MOV operation
ref_114957 = ((ref_114954 >> 48) & 0xFF) # Byte reference - MOV operation
ref_114958 = ((ref_114954 >> 40) & 0xFF) # Byte reference - MOV operation
ref_114959 = ((ref_114954 >> 32) & 0xFF) # Byte reference - MOV operation
ref_114960 = ((ref_114954 >> 24) & 0xFF) # Byte reference - MOV operation
ref_114961 = ((ref_114954 >> 16) & 0xFF) # Byte reference - MOV operation
ref_114962 = ((ref_114954 >> 8) & 0xFF) # Byte reference - MOV operation
ref_114963 = (ref_114954 & 0xFF) # Byte reference - MOV operation
ref_123051 = ref_114956 # MOVZX operation
ref_124024 = (ref_123051 & 0xFF) # MOVZX operation
ref_132090 = ref_114963 # MOVZX operation
ref_140179 = (ref_132090 & 0xFF) # MOVZX operation
ref_140181 = (ref_140179 & 0xFF) # Byte reference - MOV operation
ref_141129 = (ref_124024 & 0xFF) # MOVZX operation
ref_149218 = (ref_141129 & 0xFF) # MOVZX operation
ref_149220 = (ref_149218 & 0xFF) # Byte reference - MOV operation
ref_154549 = ((((((((ref_140181) << 8 | ref_114957) << 8 | ref_114958) << 8 | ref_114959) << 8 | ref_114960) << 8 | ref_114961) << 8 | ref_114962) << 8 | ref_149220) # MOV operation
ref_158877 = ref_30651 # MOV operation
ref_159339 = ref_154549 # MOV operation
ref_159343 = ref_158877 # MOV operation
ref_159345 = (ref_159343 & ref_159339) # AND operation
ref_160327 = ref_159345 # MOV operation
ref_160333 = (0x1F & ref_160327) # AND operation
ref_161280 = ref_160333 # MOV operation
ref_161288 = ((ref_161280 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_161295 = ref_161288 # MOV operation
ref_165213 = ref_18477 # MOV operation
ref_165636 = ref_165213 # MOV operation
ref_165648 = ref_161295 # MOV operation
ref_165650 = (ref_165648 | ref_165636) # OR operation
ref_169515 = ref_165650 # MOV operation
ref_180885 = ref_97529 # MOV operation
ref_186199 = ref_97529 # MOV operation
ref_186645 = ref_186199 # MOV operation
ref_186657 = ref_180885 # MOV operation
ref_186659 = ((ref_186657 + ref_186645) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_190497 = ref_186659 # MOV operation
ref_194873 = ((((((((ref_140181) << 8 | ref_114957) << 8 | ref_114958) << 8 | ref_114959) << 8 | ref_114960) << 8 | ref_114961) << 8 | ref_114962) << 8 | ref_149220) # MOV operation
ref_195830 = ref_194873 # MOV operation
ref_195836 = (0x7 & ref_195830) # AND operation
ref_196783 = ref_195836 # MOV operation
ref_196791 = ((ref_196783 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_196798 = ref_196791 # MOV operation
ref_202168 = ref_190497 # MOV operation
ref_202591 = ref_202168 # MOV operation
ref_202603 = ref_196798 # MOV operation
ref_202605 = (ref_202603 | ref_202591) # OR operation
ref_207922 = ref_202605 # MOV operation
ref_207924 = ((ref_207922 >> 56) & 0xFF) # Byte reference - MOV operation
ref_207925 = ((ref_207922 >> 48) & 0xFF) # Byte reference - MOV operation
ref_207926 = ((ref_207922 >> 40) & 0xFF) # Byte reference - MOV operation
ref_207927 = ((ref_207922 >> 32) & 0xFF) # Byte reference - MOV operation
ref_207928 = ((ref_207922 >> 24) & 0xFF) # Byte reference - MOV operation
ref_207929 = ((ref_207922 >> 16) & 0xFF) # Byte reference - MOV operation
ref_207930 = ((ref_207922 >> 8) & 0xFF) # Byte reference - MOV operation
ref_207931 = (ref_207922 & 0xFF) # Byte reference - MOV operation
ref_216019 = ref_207924 # MOVZX operation
ref_216992 = (ref_216019 & 0xFF) # MOVZX operation
ref_225058 = ref_207931 # MOVZX operation
ref_233147 = (ref_225058 & 0xFF) # MOVZX operation
ref_233149 = (ref_233147 & 0xFF) # Byte reference - MOV operation
ref_234097 = (ref_216992 & 0xFF) # MOVZX operation
ref_242186 = (ref_234097 & 0xFF) # MOVZX operation
ref_242188 = (ref_242186 & 0xFF) # Byte reference - MOV operation
ref_247517 = ((((((((ref_233149) << 8 | ref_207925) << 8 | ref_207926) << 8 | ref_207927) << 8 | ref_207928) << 8 | ref_207929) << 8 | ref_207930) << 8 | ref_242188) # MOV operation
ref_251845 = ((((((((ref_140181) << 8 | ref_114957) << 8 | ref_114958) << 8 | ref_114959) << 8 | ref_114960) << 8 | ref_114961) << 8 | ref_114962) << 8 | ref_149220) # MOV operation
ref_252307 = ref_247517 # MOV operation
ref_252311 = ref_251845 # MOV operation
ref_252313 = (ref_252311 & ref_252307) # AND operation
ref_253295 = ref_252313 # MOV operation
ref_253301 = (0x1F & ref_253295) # AND operation
ref_254248 = ref_253301 # MOV operation
ref_254256 = ((ref_254248 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_254263 = ref_254256 # MOV operation
ref_258181 = ref_169515 # MOV operation
ref_258604 = ref_258181 # MOV operation
ref_258616 = ref_254263 # MOV operation
ref_258618 = (ref_258616 | ref_258604) # OR operation
ref_262483 = ref_258618 # MOV operation
ref_273381 = ref_262483 # MOV operation
ref_277738 = ref_30651 # MOV operation
ref_278696 = ref_277738 # MOV operation
ref_278704 = (ref_278696 >> (0x1 & 0x3F)) # SHR operation
ref_278711 = ref_278704 # MOV operation
ref_279675 = ref_278711 # MOV operation
ref_279681 = (0xF & ref_279675) # AND operation
ref_280129 = ref_279681 # MOV operation
ref_280143 = (0x1 | ref_280129) # OR operation
ref_281158 = ref_280143 # MOV operation
ref_281160 = ((0x40 - ref_281158) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_281168 = ref_281160 # MOV operation
ref_281620 = ref_273381 # MOV operation
ref_281624 = ref_281168 # MOV operation
ref_281626 = (ref_281624 & 0xFFFFFFFF) # MOV operation
ref_281628 = ((ref_281620 << ((ref_281626 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_281635 = ref_281628 # MOV operation
ref_285553 = ref_262483 # MOV operation
ref_289910 = ref_30651 # MOV operation
ref_290868 = ref_289910 # MOV operation
ref_290876 = (ref_290868 >> (0x1 & 0x3F)) # SHR operation
ref_290883 = ref_290876 # MOV operation
ref_291847 = ref_290883 # MOV operation
ref_291853 = (0xF & ref_291847) # AND operation
ref_292301 = ref_291853 # MOV operation
ref_292315 = (0x1 | ref_292301) # OR operation
ref_292836 = ref_285553 # MOV operation
ref_292840 = ref_292315 # MOV operation
ref_292842 = (ref_292840 & 0xFFFFFFFF) # MOV operation
ref_292844 = (ref_292836 >> ((ref_292842 & 0xFF) & 0x3F)) # SHR operation
ref_292851 = ref_292844 # MOV operation
ref_293281 = ref_292851 # MOV operation
ref_293293 = ref_281635 # MOV operation
ref_293295 = (ref_293293 | ref_293281) # OR operation
ref_297710 = ((((((((ref_233149) << 8 | ref_207925) << 8 | ref_207926) << 8 | ref_207927) << 8 | ref_207928) << 8 | ref_207929) << 8 | ref_207930) << 8 | ref_242188) # MOV operation
ref_301572 = ((((((((ref_140181) << 8 | ref_114957) << 8 | ref_114958) << 8 | ref_114959) << 8 | ref_114960) << 8 | ref_114961) << 8 | ref_114962) << 8 | ref_149220) # MOV operation
ref_301995 = ref_301572 # MOV operation
ref_302007 = ref_297710 # MOV operation
ref_302009 = (ref_302007 | ref_301995) # OR operation
ref_303024 = ref_302009 # MOV operation
ref_303030 = (0xF & ref_303024) # AND operation
ref_303478 = ref_303030 # MOV operation
ref_303492 = (0x1 | ref_303478) # OR operation
ref_304507 = ref_303492 # MOV operation
ref_304509 = ((0x40 - ref_304507) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_304517 = ref_304509 # MOV operation
ref_305005 = ref_293295 # MOV operation
ref_305009 = ref_304517 # MOV operation
ref_305011 = (ref_305009 & 0xFFFFFFFF) # MOV operation
ref_305013 = (ref_305005 >> ((ref_305011 & 0xFF) & 0x3F)) # SHR operation
ref_305020 = ref_305013 # MOV operation
ref_308889 = ref_262483 # MOV operation
ref_313246 = ref_30651 # MOV operation
ref_314204 = ref_313246 # MOV operation
ref_314212 = (ref_314204 >> (0x1 & 0x3F)) # SHR operation
ref_314219 = ref_314212 # MOV operation
ref_315183 = ref_314219 # MOV operation
ref_315189 = (0xF & ref_315183) # AND operation
ref_315637 = ref_315189 # MOV operation
ref_315651 = (0x1 | ref_315637) # OR operation
ref_316666 = ref_315651 # MOV operation
ref_316668 = ((0x40 - ref_316666) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_316676 = ref_316668 # MOV operation
ref_317128 = ref_308889 # MOV operation
ref_317132 = ref_316676 # MOV operation
ref_317134 = (ref_317132 & 0xFFFFFFFF) # MOV operation
ref_317136 = ((ref_317128 << ((ref_317134 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_317143 = ref_317136 # MOV operation
ref_321061 = ref_262483 # MOV operation
ref_325418 = ref_30651 # MOV operation
ref_326376 = ref_325418 # MOV operation
ref_326384 = (ref_326376 >> (0x1 & 0x3F)) # SHR operation
ref_326391 = ref_326384 # MOV operation
ref_327355 = ref_326391 # MOV operation
ref_327361 = (0xF & ref_327355) # AND operation
ref_327809 = ref_327361 # MOV operation
ref_327823 = (0x1 | ref_327809) # OR operation
ref_328344 = ref_321061 # MOV operation
ref_328348 = ref_327823 # MOV operation
ref_328350 = (ref_328348 & 0xFFFFFFFF) # MOV operation
ref_328352 = (ref_328344 >> ((ref_328350 & 0xFF) & 0x3F)) # SHR operation
ref_328359 = ref_328352 # MOV operation
ref_328789 = ref_328359 # MOV operation
ref_328801 = ref_317143 # MOV operation
ref_328803 = (ref_328801 | ref_328789) # OR operation
ref_333218 = ((((((((ref_233149) << 8 | ref_207925) << 8 | ref_207926) << 8 | ref_207927) << 8 | ref_207928) << 8 | ref_207929) << 8 | ref_207930) << 8 | ref_242188) # MOV operation
ref_337080 = ((((((((ref_140181) << 8 | ref_114957) << 8 | ref_114958) << 8 | ref_114959) << 8 | ref_114960) << 8 | ref_114961) << 8 | ref_114962) << 8 | ref_149220) # MOV operation
ref_337503 = ref_337080 # MOV operation
ref_337515 = ref_333218 # MOV operation
ref_337517 = (ref_337515 | ref_337503) # OR operation
ref_338532 = ref_337517 # MOV operation
ref_338538 = (0xF & ref_338532) # AND operation
ref_338986 = ref_338538 # MOV operation
ref_339000 = (0x1 | ref_338986) # OR operation
ref_339485 = ref_328803 # MOV operation
ref_339489 = ref_339000 # MOV operation
ref_339491 = (ref_339489 & 0xFFFFFFFF) # MOV operation
ref_339493 = ((ref_339485 << ((ref_339491 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_339500 = ref_339493 # MOV operation
ref_339979 = ref_339500 # MOV operation
ref_339991 = ref_305020 # MOV operation
ref_339993 = (ref_339991 | ref_339979) # OR operation
ref_343952 = ref_339993 # MOV operation
ref_344903 = ref_343952 # MOV operation
ref_344905 = ref_344903 # MOV operation

print ref_344905 & 0xffffffffffffffff
