#include int main(){ int a,b,c; scanf("%d", &c); a=c/2; b=c-a; printf("%d %d\n",a,b); return 0; }