S = input().split() for s in S: print(s[0].upper(), end='') print()