#include int main(void){ int N; scanf("%d", &N); printf("%d %d\n", N / 2, N - N / 2); return 0; }