#t170. 查找第 k 个单词
查找第 k 个单词
Find the k-th Word
Problem Description
Given a sequence of words, output the -th word in the sequence.
Input Format
The first line contains two positive integers ().
The second line contains words in succession, each consisting only of lowercase English letters and of length at most .
Output Format
Output the -th word.
Sample Input
5 2
one two three four five
Sample Output
two
Hint
- You only need to obtain the -th word and then your program may stop; you do not have to read in all the words.