Ляхута Никита Игоревич
29.10.2019 23:07 (17 д. 13:00) [2763683]
s = input().split() n = int(input()) try: print(s[n-1]) except: print(s[-1])