#include using namespace std; int main() { for (int _ : {0, 1, 2}) { string S; cin >> S; cout << char(S[0] ^ 32); } cout << endl; }