Program P26;
 { Eroare }
var i : integer;
begin
 i:=MaxInt;
 writeln(pred(i));
 writeln(succ(i));
end.
