#include using namespace std; int getRandRange(int min, int max) { static mt19937 engine; random_device rd; int seed = rd(); engine.seed(seed); uniform_int_distribution dist(min, max); return dist(engine); } int main(){ int a; cin >> a; int rn = getRandRange(0,a); cout << rn << " " << a-rn <