S1, S2, S3 = input().split() ans = S1[0] + S2[0] + S3[0] ans = ans.upper() print(ans)