#include <bits/stdc++.h>
using namespace std;
int main() {
  char word[1001];
  scanf("%s", &word);
  if (word[0] >= 'a' && word[0] <= 'z') {
    word[0] = word[0] - 32;
  }
  printf("%s\n", word);
  return 0;
}
