l = input().split() s = '' for i in l: i = ord(i[0]) if 97 <= i <= 122: i = i - 32 i = chr(i) s = s + str(i) print(s)