s = input().split() t = "" for i in range(3): t += (s[i].upper())[0] print(t)