#include<cstdio> #include<cmath> int main() { float a; scanf("%f",&a); printf("%d\n%d",(int)floor(a),(int)ceil(a)); }