#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
  cin >> s;
  for (int i = 0; i < s.size(); i++) {
    if (s[0] == tolower(s[0])) {
      s[0] = toupper(s[0]);
    } else {
      s[0] = toupper(s[0]);
    }
    break;
  }
  cout << s;
}
