#include using namespace std; int main() { int N, t; cin >> N; t = rand() % N; cout << t << " " << N -t << endl; }