words = input().split()

result = "".join(word[0] for word in words)

print(result.upper())