#include <iostream> using namespace std; int main() { string a,b; while (cin>>a) { if (a[0]>=97) { a[0]-=32; } cout<<a[0]; } return 0; }