S = input().split() print("".join([i.upper()[0] for i in S]))