a, b, c = map(str, input().split()) print(a[0].upper() + b[0].upper() + c[0].upper())