while True: try: words = list(input().split()) for word in words: print(word[0].upper(), end = '') except: break