#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <math.h>
#include <string>
#include <algorithm>
using namespace std;
int main() {
string s;
cin >> s;
s[0] = toupper(s[0]);
cout << s << endl;
//system("pause");
return 0;
}