#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
  string s;
  cin >> s;
  if (s[0] >= 65 && s[0] <= 90)
    cout << s;
  else {
    s[0] = s[0] - 32;
    cout << s;
  }
  return 0;
}
