Хлебников Павел Юрьевич
12.10.2019 20:39 (10:32) [2720434]
a = input().split() b = int(input()) try: print(a[b-1]) except: print(a[len(a)-1])