program oken;
uses crt;
var s: string;
i,dem: byte;
begin
clrscr;
write('Nhap xau: '); readln(s);
write('Cac ky tu la chu thuong trong xau: ');
for i:=1 to length(s) do
if (s[i] in ['a'..'z']) then
begin
dem:=dem+1;
write(s[i],' ');
end;
writeln;
writeln('So ky tu la chu thuong trong xau: ',dem);
readln;
end.