Чернов Дмитрий Дмитриевич
08.01.2020 07:22 (87 д. 21:15) [3022389]
(lambda x, i: print(x[min(i, len(x))-1]))(input().split(), int(input()))