s=input().split()
a=""
for i in s:
    a+=i[0]
print(a.upper())