#include <bits/stdc++.h>
using namespace std;
int main(void) {
  string str;
  cin >> str;
  string::iterator it1 = str.begin();
  string::iterator it2 = str.end();
  cout << (char)toupper(*it1);
  for (it1++; it1 < it2; it1++) cout << (char)*it1;
  cout << endl;
  return 0;
}
