s=input().split( )
l=[i[0].upper() for i in s]
print(''.join(l))