a = map(str, input().split())
lst = [] for i in a:
    lst.append(i[0].upper())
print(''.join(lst))