Леденев Дмитрий Игоревич
05.11.2019 17:13 (24 д. 07:06) [2778147]
c=(list(map(str, input().split()))) n=int(input()) b=len(c) if b<n: print(c[b-1]) print (c[n-2])