var
n: byte;
S: string;
begin
write('BBegu cTpoky: ');
Readln(S);
n:=1;
for i:=1 to length(S) do
if S[i]=' ' then inc(n);
writeln('CJIoB:', n);
end.
var
n: byte;
S: string;
begin
write('BBegu cTpoky: ');
Readln(S);
n:=1;
for i:=1 to length(S) do
if S[i]=' ' then inc(n);
writeln('CJIoB:', n);
end.