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