#include int main() { int N; if (scanf("%d", &N) != 1) { return -1; } printf("%d %d", (N - N % 2) / 2, (N + N % 2) / 2); return 0; }