#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int n = s[0];
  if (n >= 97 && n <= 122) {
    s[0] = s[0] - 32;
    cout << s << endl;
  } else
    cout << s << endl;
  return 0;
}
