~/algor $ cat problems/for/count-of-multiples-of-three
Count of multiples of three
Easy
1000 ms
64 MB
22%
Two integers and are given. Find how many integers from to (both inclusive) are divisible by . is also divisible by .
Input
One line with two integers: and .
Output
One integer — the number of multiples of three.
Note
Examples
Input #1
1 10
Output #1
3
Input #2
-7 7
Output #2
5