#include using namespace std; using ll = long long; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep1(i, n) for (int i = 1; i <= (int)(n); i++) #define all(v) v.begin(), v.end() const int INF = 1001001001; const int dx[] = {0, 1, 0, -1, 1, 1, -1, -1}; const int dy[] = {1, 0, -1, 0, 1, -1, 1, -1}; bool rev(string str) { string re = str; reverse(all(re)); if (re == str) { return true; } else { return false; } } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string s1, s2, s3; cin >> s1 >> s2 >> s3; cout << (char)(s1[0] - 'a' + 'A') << (char)(s2[0] - 'a' + 'A') << (char)(s3[0] - 'a' + 'A') << endl; return 0; }