#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios_base::sync_with_stdio(false);
  string s;
  cin >> s;
  transform(s.begin(), s.begin() + 1, s.begin(), ::toupper);
  (cout << s << endl);
  return 0;
}
