#include #include #include #include #include #include using namespace std; #define ll long long #define uint unsigned int #define ulong unsigned long long int int main(){ int N; scanf("%d", &N); printf("%d %d\n", N / 2, N - N / 2); return 0; }