#include <bits/stdc++.h>
using namespace std;
bool isPrime(long long n) {
  if (n == 1) return false;
  if (n == 2) return true;
  for (long long i = 2; i * i <= n; i++) {
    if (n % i == 0) return false;
  }
  return true;
}
const long long INF = 1e18;
const long long N = 1e4 + 1;
void solve() {
  string s;
  cin >> s;
  if (s[0] >= 97 && s[0] <= 122) {
    s[0] = s[0] - 97 + 65;
  }
  cout << s << "\n";
}
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  long long T = 1;
  while (T--) solve();
  return 0;
}
