fn read_vec() -> Vec { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); s.trim() .split_whitespace() .map(|e| e.parse().ok().unwrap()) .collect() } use std::io::{stdout, Write, BufWriter}; fn main() { let out = stdout(); let mut out = BufWriter::new(out.lock()); let lrn:Vec = read_vec(); let l = lrn[0]; let r = lrn[1] + 1; let n = lrn[2]; for i in 0..n { let ans = r/n + if i < r%n { 1 } else { 0 } - l/n - if i < l%n { 1 } else { 0 }; writeln!(out, "{}", ans).unwrap(); } }