#include <bits/stdc++.h>
int main() {
  std::string s;
  std::cin >> s;
  if ((int(s[0]) >= 65) && (int(s[0]) <= 90))
    std::cout << s << std::endl;
  else {
    std::cout << char(int(s[0]) - 32);
    for (int i = 1; i < s.length(); i++) std::cout << s[i];
    std::cout << std::endl;
  }
  return 0;
}
