words = input().split()
s = ''
for word in words:
    s += word[0].upper()
print(s)