#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  int les = 'A' - 'a';
  while (cin >> s) {
    if (s[0] < 'A' || s[0] > 'Z') {
      s[0] += les;
    }
    cout << s << endl;
  }
  return 0;
}
