#t170. 查找第 k 个单词

查找第 k 个单词

Find the k-th Word

Problem Description

Given a sequence of nn words, output the kk-th word in the sequence.

Input Format

The first line contains two positive integers n,kn, k (0<k≤n≤10000 < k \le n \le 1000).

The second line contains nn words in succession, each consisting only of lowercase English letters and of length at most 3030.

Output Format

Output the kk-th word.

Sample Input

5 2
one two three four five

Sample Output

two

Hint

  • You only need to obtain the kk-th word and then your program may stop; you do not have to read in all the words.