You are given six integers: , , , , and . Find the number of triplets of integers (x, y, z) that satisfy the following four conditions:
is between and , inclusive;
is between and , inclusive;
is between and , inclusive;
x \times y = z;
Each line contains six integers , , , , and . It is known that 1 \leq minx \leq maxx \leq 10^9, 1 \leq miny \leq maxy \leq 10^9, 1 \leq minz \leq maxz \leq 10^9.
For each line of input, print on a separate line the number of triplets (x, y, z) that satisfy the given conditions.
Example 1