#include <iostream>using namespace std; int main() {int A,B;cin >> A >> B;if (A > B)cout << "A";elsecout << "B";cout << "AB"; return 0;}
Standard input is empty
AAB
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!