n = input().split()
S = ''
for i in n:
    S += i[0]
print(S.upper())