Anfisa the monkey learns to type. She is yet unfamiliar with the "space" key and can only type in lower-case Latin letters. Having typed for a fairly long line, Anfisa understood that it would be great to divide what she has written into *k* lines not shorter than *a* and not longer than *b*, for the text to resemble human speech more. Help Anfisa.
The first line contains three integers *k*, *a* and *b* (1 ≤ *k* ≤ 200, 1 ≤ *a* ≤ *b* ≤ 200). The second line contains a sequence of lowercase Latin letters — the text typed by Anfisa. It is guaranteed that the given line is not empty and its length does not exceed 200 symbols.
from sys import stdin
import math

k,a,b = list(map(int, stdin.readline().rstrip().split(' ')))
str = stdin.readline().rstrip()

if k*a > len(str):
    print('No solution')
    exit()
    
if k > len(str):
    print('No solution')
    exit()
    
if k*b < len(str):
    print('No solution')
    exit()

with_even_lines = k * a
after_even_lines = len(str) - with_even_lines

l = 0
for _ in range(k):
    line_size = a
    if after_even_lines > 0:
        line_size += after_even_lines
        line_size = min(b, line_size)
        after_even_lines -= (line_size - a)
    print(str[l:l+line_size])
    l += line_size