eng = list(map(str,input().strip().split()))

u_eng = []

for i in eng:
    u_eng.append(i[0].upper())


print("".join(u_eng))