func main() var l: int :: cui@inputInt() var r: int :: cui@inputInt() var n: int :: cui@inputInt() for i(0, n - 1) do cui@print("\{f(l + n - i, r + n - i, n)}\n") end for func f(l: int, r: int, n: int): int ret r / n - (l - 1) / n end func end func