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