#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j;
  string s;
  cin >> s;
  if ((int)s[0] >= 97 && (int)s[0] <= 122) {
    s[0] = (char)((int)s[0] - 32);
  }
  for (i = 0; i < s.size(); i++) {
    cout << s[i];
  }
}
