l,r,n=map(int,input().split()) v=(r-l)//n for i in range(n): if i==l%n: print(v+1) else: print(v)