#include using namespace std; typedef pair pii; typedef long long ll; const int N = 2000086, MOD = 998244353, INF = 0x3f3f3f3f; ll res; int n, m, cnt, w[N]; int main() { string s; for (int i = 0; i < 3; i++) { cin >> s; putchar(s[0] - 32); } return 0; }