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