s = input()

a = s.split(' ')

for i in a:

    print(i[0].upper(), end='')