#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10, mod = 1000000007;
void solve() {
  string str;
  cin >> str;
  if (str[0] >= 'a') str[0] = str[0] - 'a' + 'A';
  cout << str << "\n";
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  solve();
  return 0;
}
