#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int main() {
  string s;
  int l = 0;
  cin >> s;
  l = s.length();
  if (s[0] >= 97 && s[0] <= 122) {
    printf("%c", s[0] - 32);
  } else
    printf("%c", s[0]);
  for (int i = 1; i < l; i++) {
    printf("%c", s[i]);
  }
  cout << endl;
  return 0;
}
