a,b,c=map(int,input().split()) for i in range(c): if c!=1: d=(b-i)//c-a//c if i