#include using namespace std; int main(){ int a;cin>>a; for(int i = 1; 10 >= i; i++){ if(a-i <= 10){ cout << i << " " << a-i << endl; return 0; } } }