from itertools import zip_longest def main(): l,r,n = map(int,input().split()) def joyo(num,res=None): """1~numの間を剰余の個数で分ける""" res=[num//n for _ in range(n)] if num % n !=0: for i in range(1,(num%n)+1): res[i] +=1 return res if l > 1: for j,k in zip_longest(joyo(l-1),joyo(r)): if k-j !=0:print(k-j) else: for s in joyo(r): if k-j !=0:print(s) main()