Бездетко Герман Максимович
17.10.2019 21:55 (5 д. 11:47) [2726661]
s = input().split(" ") n = int(input()) print(s[n-1] if n < len(s)-1 else s[-1])