a = input().split() b = [] for index,i in enumerate(a): x = a[index][0] b.append(x.upper()) sb = "".join(b) print(sb)