#include <bits/stdc++.h>
using namespace std;
char convert(char c) {
  if (c >= 'a' && c <= 'z') {
    c = c - 'a' + 'A';
  }
  return c;
}
int main() {
  string s;
  getline(cin, s);
  s[0] = convert(s[0]);
  cout << s;
}
