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