#include <bits/stdc++.h>
int main() {
  char str[1000] = {0};
  int i;
  scanf("%s", &str);
  for (i = 0; str[i] != '\0'; i++) {
    if (i == 0) {
      if ((str[i] >= 'a' && str[i] <= 'z')) str[i] = str[i] - 32;
      continue;
    }
  }
  printf("%s\n", str);
  return 0;
}
