int main(){ int N,A,B; srand(1); scanf("%d",&N); A=rand(); B=N-A; printf("%d %d",A,B); }