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