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