DIM a$(6)
FOR i=1 TO 6
INPUT a$(i)
NEXT
FOR i=1 TO n
IF MID$(a$(i),i,1)="k" THEN m=m+1
NEXT
FOR i=1 TO n
PRINT a$(i)
NEXT
PRINT"kol=";m
DIM a$(6)
FOR i=1 TO 6
INPUT a$(i)
NEXT
FOR i=1 TO n
IF MID$(a$(i),i,1)="k" THEN m=m+1
NEXT
FOR i=1 TO n
PRINT a$(i)
NEXT
PRINT"kol=";m