#include using namespace std; int main(){ int N,ans1; cin >> N; ans1=N/2; cout << ans1 << ' ' << N-ans1 << endl; return 0; }