list_S = input().upper().split(' ') l = len(list_S) for i in range(l): list_S[i] = list_S[i][0] print(''.join(map(str,list_S)))