Куцелабский Егор
12.10.2019 11:23 (1:16) [2714376]
(lambda s, x: print(s[x - 1] if x - 1 < len(s) else s[-1]))(input().split(), int(input()))