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