while True: try : n = int(input()) listt = input().split() k = int(input()) print(listt[-k]) except: break
相关推荐