#include <iostream>
using namespace std;
 
int main() {
    string s;
    while(cin >> s)
    {
        if (s[0] >= 'a' && s[0] <= 'z') s[0] += 'A' - 'a';     
        cout<<s[0];
    }
    return 0;
}
// 64 位输出请用 printf("%lld")