#PCBSAU0000035. Lặp lại văn bản (Repeat Text)
Lặp lại văn bản (Repeat Text)
Repeat Text
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given a string and nonnegative integer , print consecutive copies of with no separators. If , output one empty line.
Input
Line 1 contains the entire string ; line 2 contains integer .
Output
One line containing the repeated string, followed by a newline.
Subtask
- Subtask 1 — 100 points: Unicode code points; .
Example
Input
Ha!
3
Output
Ha!Ha!Ha!
Explanation
The string Ha! is repeated three times without spaces: Ha!Ha!Ha!.