INPUT a$
f = 0
FOR i = 1 TO LEN(a$)
IF VAL(MID$(a$, i, 1)) <> 0 AND VAL(MID$(a$, i, 1)) > 9 THEN f = 1
NEXT i
IF f = 0 AND VAL(a$) MOD 9 = 0 THEN PRINT "yes": PRINT VAL(a$) * 2 ELSE PRINT "no"
INPUT a$
f = 0
FOR i = 1 TO LEN(a$)
IF VAL(MID$(a$, i, 1)) <> 0 AND VAL(MID$(a$, i, 1)) > 9 THEN f = 1
NEXT i
IF f = 0 AND VAL(a$) MOD 9 = 0 THEN PRINT "yes": PRINT VAL(a$) * 2 ELSE PRINT "no"