n="*n"while""do a,b,s=io.read(n,n,n)for i=a+s,b-.1,s do a=a..' '..i end print(a)end