#include <bits/stdc++.h>
using namespace std;
int main() {
  string str, temp;
  cin >> str;
  temp = str;
  transform(temp.begin(), temp.end(), temp.begin(), ::toupper);
  str[0] = temp[0];
  cout << str;
  return 0;
}
