#include int main() { int a,b,c; scanf("%d",&a); b=(a+1)/2; c=a-b; printf("%d %d",b,c); }