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