1159 농구경기
d = {}
for i in range(int(input())):
player = input()
d[player[0]] = d.get(player[0], 0)+1
answer = []
for k, v in d.items():
if v >= 5:
answer.append(k)
print("".join(sorted(answer)) if answer else "PREDAJA")
반갑습니다 환영합니다