INF = 10 ** 9 def main(): l,r,n = map(int,input().split()) if n == 1: print('\n'.join(map(str,[r - l + 1 for _ in range(n)]))) return ans = [0] * n while r%n != l%n - 1: ans[r%n] += 1 r -= 1 ret = (r - l + 1)//n print('\n'.join(map(str,[i + ret for i in ans]))) if __name__ == '__main__': main()