l,r,n=map(int,input().split()) a=[0]*n for i in range(n): t=r+1-l-(i-l)%n print(t//n+(t%n>0))