var
    N : real;
begin
    read(N);
    writeln(round(N),trunc(N));
end.