rengetsu

Timus_1409

Jul 18th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. //Timus 1409
  2. #include <iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.     int a, b;
  7.     cin >> a >> b;
  8.     cout << ((a+b)-1)-a << " " << ((a+b)-1)-b;
  9.     return 0;
  10. }
Add Comment
Please, Sign In to add comment