fork download
  1. #include <iostream>
  2. using namespace std;
  3. main() {
  4. int a,b;
  5. cin>>a>>b;
  6. cout<<b-1<<" "<<a-1;
  7. }
Success #stdin #stdout 0s 4400KB
stdin
4 3
stdout
2 3