#include using namespace std; using ll = long long; #define rep(i, a, n) for(int i = a; i < n; i++) int main() { string a, b, c, ans; cin >> a >> b >> c; ans += toupper(a[0]); ans += toupper(b[0]); ans += toupper(c[0]); cout << ans << endl; }