#include <stdio.h> int main() { int N,n1=0,n2=0; scanf("%d",&N); while(N) { if(N%2==0) n2++; else n1++; N--; } printf("%d %d\n",n1,n2); return 0; }