LearnPy Hub
← Arena
EasyRating 900

Divisible in a Range

Count the integers x with a ≤ x ≤ b that are divisible by k.

Input

One line: a b k (0 ≤ a ≤ b ≤ 10¹⁸, 1 ≤ k ≤ 10¹⁸).

Output

A count.

Sample 1

Input
1 10 3
Output
3

Sample 2

Input
0 0 5
Output
1
solution.py
Output appears here
Divisible in a Range · Python Arena problem · LearnPy Hub