program fjf219e;

CAUTION: This program may hang!

label bar;

var s:string(100);

procedure foo;
var f:text;
begin
  rewrite(f);
  writeln(f,'OK');
  reset(f);
  readln(f,s);
  goto bar
end;

begin
  foo;
bar:
  writeln(s);
end.
