#include #include using namespace std; int main() { int n; cin >> n; int m = n / 2; cout << m << " " << n - m << endl; return 0; }