You are given nonnegative integers a and b (a ≤ b), and a positive integer x. Among the integers between a and b, inclusive, how many are divisible by x?
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import sys

input = sys.stdin.readline

def main():
    a, b, c = map(int, input().split())
    print((b-a)/c + 1 if a != b else 0)

main()

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import sys

input = sys.stdin.readline

def main():
    a, b, c = map(int, input().split())
    print(b // c - (a - 1) // c)

main()
