import sys
a=sys.stdin.readline().split()
b=''
for x in a:
    b+=x[0].upper()
print(b)