#311. repeatSeparator

repeatSeparator

Background

Description

Given two strings, word and a separator sep, return a big string made of count occurrences of the word, separated by the separator string.

Format

Input

Output

Samples

Word" "X" 
"WordXWordXWord"
This" "And" 
"ThisAndThis"
This" "And" 
"This"

Limitation

1s, 1024KiB for each test case.