import java.io.PrintWriter; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); long l = sc.nextLong(); long r = sc.nextLong(); long n = sc.nextLong(); sc.close(); long a = l % n; long b = r % n; long c = (r - l) / n; PrintWriter pw = new PrintWriter(System.out); for (int i = 0; i < n; i++) { long ans = c; if (i >= a) { ans++; } if (i > b) { ans--; } pw.println(ans); } pw.flush(); } }