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