print(''.join(word[0].upper() for word in input().split()))