#include #include using namespace std;main(){ string s1, s2, s3, ans; cin >> s1 >> s2 >> s3; if(s1.size() >= s2.size() && s1.size() >= s3.size()) ans = s1; else if(s2.size() >= s3.size()) ans = s2; else ans = s3; for(int i = 0; i < ans.size(); i++) cout << char(int(ans[i]) - 32);}