#include <bits/stdc++.h>
int main() {
  char s[1004];
  while (scanf("%s", s) == 1) {
    int len = strlen(s);
    if (s[0] >= 'a' && s[0] <= 'z') s[0] += 'A' - 'a';
    for (int i = 0; i < len; i++) putchar(s[i]);
    putchar('\n');
  }
}
