fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int A,B;
  6. cin >> A >> B;
  7. if (A > B)
  8. cout << "A";
  9. else
  10. cout << "B";
  11. cout << "AB";
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5588KB
stdin
Standard input is empty
stdout
AAB