微博转发抽奖
m,n,s = map(int,input().split())
lst = []
if m<s:
print('Keep going...')
else:
for i in range(1,m+1):
name = input()
if (i-s)%n == 0 and i>=s:
if name not in lst:
lst.append(name)
else:
s = s + 1
for i in lst:
print(i)