Input consists of several test cases. Each case appears on a single line of input and contains 1 ≤ n ≤ 50, the desired number of copies, and 0 ≤ k ≤ 100, the number of characters of the text to output, followed by a single space and the text. The text will have between 0 and 100 characters and the value of k will always be less than or equal to the number of characters in the text. A line beginning with 0 follows the last test case.
For each entry, output n copies of the first k characters of the given text. Include a blank line after each test case in the output.
2 3 Four score and seven years ago 5 4 howdy pardner 10 6 this is fun 8 2 yup 5 7 I told you so. 7 8 The only thing we have to fear 10 0 is fear itself 3 14 Twas brilling and the slithy toves did gyre and gimble in the wabe. 0
FouFou howdhowdhowdhowdhowd this ithis ithis ithis ithis ithis ithis ithis ithis ithis i yuyuyuyuyuyuyuyu I told I told I told I told I told The onlyThe onlyThe onlyThe onlyThe onlyThe onlyThe only Twas brilling Twas brilling Twas brilling