#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 ss and nonnegative integer nn, print nn consecutive copies of ss with no separators. If n=0n=0, output one empty line.

Input

Line 1 contains the entire string ss; line 2 contains integer nn.

Output

One line containing the repeated string, followed by a newline.

Subtask

  • Subtask 1 — 100 points: 0≤∣s∣≤1000\le |s|\le100 Unicode code points; 0≤n≤200\le n\le20.

Example

Input

Ha!
3

Output

Ha!Ha!Ha!

Explanation

The string Ha! is repeated three times without spaces: Ha!Ha!Ha!.