#include <stdio.h> int main() { int n = 0; scanf("%d",&n); if(n%2==1) printf("%d %d",n/2+1,n/2); else printf("%d %d",n/2,n/2); return 0; }
#include <stdio.h> int main() { int n = 0; scanf("%d",&n); if(n%2==1) printf("%d %d",n/2+1,n/2); else printf("%d %d",n/2,n/2); return 0; }