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