use integer; ($l,$r,$n)=glob<>; print+($r+$n-$_)/$n-($l-1+$n-$_)/$n,$/for 0..$n-1