#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(NULL);
  cout.tie(NULL);
  ios::sync_with_stdio(false);
  string s;
  cin >> s;
  if (islower(s[0])) s[0] = toupper(s[0]);
  cout << s;
}
