#include <iostream>
#include <cstring>
#include <sstream>
using namespace std;
void main()
{
// string line,word;
// while(getline(cin,line))
// {
// istringstream stream(line);
// while(stream>>word)
// {
// for(string::iterator iter=word.begin();iter!=word.end();iter++)
// {
// if(isalpha(*iter) && iter==word.begin())
// {
// *iter=towupper(*iter);
// }
// }
// cout<<word<<' ';
// }
// }
char str[1000];
cin>>str;
char* pstr=str;
// for(int i=0;i<1000;i++)
// {
// if(str[i]==' ')
// {
// str[i-1]=str[i-1]-26;
// }
// }
cout<<str<<endl;
}