#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f, N = 100010;
inline int read() {
  int date = 0, w = 1;
  char c = 0;
  while (c < '0' || c > '9') {
    if (c == '-') w = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    date = date * 10 + c - '0';
    c = getchar();
  }
  return date * w;
}
inline void write(int x) {
  if (x < 0) {
    putchar('-');
    x = -x;
  }
  if (x > 9) write(x / 10);
  putchar(x % 10 + '0');
}
int main() {
  string s;
  cin >> s;
  s[0] = toupper(s[0]);
  cout << s << endl;
  return 0;
}
