문제
풀이
#include <iostream>
using namespace std;
void solve(void) {
int a, b, c; cin >> a >> b >> c;
cout << ((a == b && b == c) ? "*" : (a == b) ? "C" : (b == c) ? "A" : "B");
}
int main(void) {
ios::sync_with_stdio(false);
cin.tie(nullptr);
solve();
return 0;
}