#include <bits/stdc++.h>
using namespace std;
void solve() {
  string s;
  cin >> s;
  int c = s[0];
  s[0] = toupper(c);
  cout << s << "\n";
}
int main() {
  cin.tie(NULL);
  cout.tie(NULL);
  ios_base::sync_with_stdio(false);
  solve();
}
