3 var w0,s01,w1,s12,w2,s23:string[255];
11 for i:=1 to length(t) do
12 if t[i]='o' then begin
15 else if (w2='') or (length(w0)<length(w2)) then
19 for k:=0 to j do begin
20 if k<i then w1[i-k]:='*'
21 else if w0<>'' then w0[length(w0)-(k-i)]:='*';
22 if k<=length(w1)-i then w1[i+k]:='*'
23 else if w2<>'' then w2[k-(length(w1)-i)]:='*';
27 for i:=1 to length(s01) do
28 if s01[i]='n' then writeln
30 w0:=w1; s01:=s12; w1:=w2; s12:=s23;
35 w0:=''; s01:=''; w1:=''; s12:=''; w2:=''; s23:='';
36 while not eof(input) do begin
37 if eoln(input) then begin
42 if (c >= 'a') and (c <= 'z') or (c >= 'A') and (c <= 'Z') then begin
43 if s23<>'' then shift;