#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
const int MOD=1e9+7;
const int INF=LLONG_MAX/2;
signed main() {
ios::sync_with_stdio(false);cin.tie(NULL);
string s;
cin>>s;
if (s[0] >= 'a' && s[0] <= 'z') {
s[0] -= 32;
}
cout<<s<<endl;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgZW5kbCAnXG4nCiNkZWZpbmUgaW50IGxvbmcgbG9uZwoKY29uc3QgaW50IE1PRD0xZTkrNzsKY29uc3QgaW50IElORj1MTE9OR19NQVgvMjsKCnNpZ25lZCBtYWluKCkgewogICBpb3M6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7Y2luLnRpZShOVUxMKTsKICAgc3RyaW5nIHM7CiAgIGNpbj4+czsKICAgaWYgKHNbMF0gPj0gJ2EnICYmIHNbMF0gPD0gJ3onKSB7CiAgICAgIHNbMF0gLT0gMzI7CiAgIH0KICAgY291dDw8czw8ZW5kbDsKfQo=