a, b, c = input().split() A = a.upper() B = b.upper() C = c.upper() print(A[0] + B[0] + C[0])