// ,,廿_廿,, #include #include using namespace std; int main(){ int a,b;cin>>a>>b; for(int x=1;x<=10;++x){ if(a+x != 10)continue; for(int y=1;y<=10;++y){ if(x+y == b){ cout << x << ' ' << y << endl; return 0; } } } }