import java.util.*; import java.io.*; import java.math.*; public class No836 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long l = sc.nextLong(), r = sc.nextLong(), n = sc.nextLong(); long o = (r - l + 1) / n; if((r - l + 1) % n == 0) { for(int i = 0; i < n; i++) { System.out.println(o); } }else { for(int i = 0; i < n; i++) { if(l % n <= i && i <= r % n) System.out.println(o + 1); else System.out.println(o); } } } }