a=list(map(str,input().split()))
for i in a:
    b=list(i)
    c=b[0]
    
    print(c.upper(),end='')