#include <iostream>using namespace std;
int main() { string s; while(cin>>s){ char f=s[0]; f=f-32; cout<<f; s.erase(0,1); cout<<s<<endl; } return 0;}