#include <bits/stdc++.h> using namespace std; int main() { string s; while(cin >> s) { cout << (char)toupper(s[0]); } return 0; }