Capitalization is writing a word with its first letter as a capital letter. Your task is to capitalize the given word.

Note, that during capitalization all the letters except the first one remains unchanged.

Input

A single line contains a non-empty word. This word consists of lowercase and uppercase English letters. The length of the word will not exceed 103.

Output

Output the given word after capitalization.

Examples

Input

ApPLe


Output

ApPLe


Input

konjac


Output

Konjac
#include <bits/stdc++.h>
using namespace std;
vector<string> split(const string &s, char delim) {
  vector<string> elems;
  stringstream ss(s);
  string item;
  while (getline(ss, item, delim)) {
    elems.push_back(item);
  }
  return elems;
}
vector<int> parseint(const vector<string> s) {
  vector<int> ints;
  for (vector<string>::const_iterator it = s.begin(); it != s.end(); it++) {
    ints.push_back(stoi(*it));
  }
  return ints;
}
vector<long long> parsell(const vector<string> s) {
  vector<long long> lls;
  for (vector<string>::const_iterator it = s.begin(); it != s.end(); it++) {
    lls.push_back(stoll(*it));
  }
  return lls;
}
bool myfunc(int i, int j) { return (i > j); }
int main() {
  string s;
  cin >> s;
  if (s[0] >= 'a' && s[0] <= 'z') {
    cout << (char)(s[0] + 'A' - 'a');
  } else {
    cout << s[0];
  }
  for (int i = 1; i < s.length(); i++) {
    cout << s[i];
  }
  cout << endl;
  return 0;
}
