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