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.
k,l,r=[int(x) for x in input().split()]
s=input()
n=len(s)
if n//r>k:
    print("No solution")
    exit()
ans=rem=0
for i in range(l,r+1):
    if n%i==0 and n==k*i:
        ans=i
        break
    if n%i:
        if n//i==k-1 and n%i>=l:
            ans=i
            rem=n%i
            break
        if n//i==k:
            ans=i
            rem=n%i
            break
            
if ans==0:
    print("No solution")
    exit()

#print(ans)
f=0
a=[ans]*k
for i in range(k):
    if rem:
        a[i]+=1
        rem-=1
    else:
        break
idx=0
v=[]
for i in range(k):
    v.append(s[idx:idx+a[i]])
    idx+=a[i]
for i in range(k):
    if len(v[i])>=l and len(v[i])<=r:
        continue
    else:
        f=1
if f:
    print("No solution")
else:
    for i in range(k):
        print(v[i])
        