#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int cnt1 = 0;
  int cnt2 = 0;
  string ss;
  cin >> ss;
  for (int i = 0; i < ss.size(); ++i) {
    if (i == 0 && ss[i] >= 97) {
      ss[i] = ss[i] - 32;
      cout << ss[i];
    } else
      cout << ss[i];
  }
}
