s1, s2, s3 = input().split()
print(s1[0].capitalize() + s2[0].capitalize() + s3[0].capitalize())

3afb39fcaa41fc1d7198cd653784310cf57e77c3
<mask token>

<mask token>
print(s1[0].capitalize() + s2[0].capitalize() + s3[0].capitalize())

s1, s2, s3 = input().split()
print(s1[0].capitalize() + s2[0].capitalize() + s3[0].capitalize())
