l,r,n = map(int,input().split()) srt = l%n end = r%n li = [0]*n if (r-l+1) // n >= 1: now = ((l//n)+1)*n #print(r-now,srt) li = [(r-now+1)//n]*n for i in range(n-srt): li[i+srt] += 1 for i in range((1+end)%n): li[i] += 1 else: for i in range(r-l+1): li[(l+i)%n] = 1 for i in range(n): print(li[i])