import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long l = sc.nextLong(); long r = sc.nextLong(); long n = sc.nextLong(); long t1 = l % n; long t2 = r % n; long k = (r + n - 1 - t2 - l + t1 + 1) / n; for(int i = 0; i < n; i++) { long ans = k; if(i < t1) ans--; if(i > t2) ans--; System.out.println(ans); } } }