a,b,c=map(int,input().split())total=0for i in range(a,b+1,c): total=i print(total,end=" ")
for i in range(a,b+1,c):
公差可能小於0,所以不能用b+1