#include <bits/stdc++.h>
using namespace std;
int main() {
  string text = "";
  cin >> text;
  long long int len = text.length();
  char array[1000] = {};
  for (int i = 0; i < len; i++) {
    array[i] = text[i];
  }
  int num = array[0];
  if (num >= 97 and num <= 122) {
    num -= 32;
  }
  array[0] = num;
  for (int i = 0; i < len; i++) {
    cout << array[i];
  }
  return 0;
}
