print(''.join([x[0] for x in input().split()]).upper())