Юрченко Артем Сергеевич
12.10.2019 17:41 (7:33) [2718271]
N = input() M = int(input()) N = N.split() if M < len(N): print(N[M-1]) else: print(N[-1])