#include using namespace std; int main(){ int N;cin >> N; return (cout << N/2 << " "<< (N+1)/2<