#include <iostream>
#include <string>
using namespace std;

int main() {
    string str;
    string strSimplify = "";

    while(cin >> str)
    {
        strSimplify += toupper(str[0]);
    }
    cout << strSimplify << endl;
    return 0;
}