Two positive integers with decimal representations of the same length are called similar if their decimal representations can be obtained from each other by permuting the digits.
How many numbers in the segment [l,\ r] have exactly one similar number in that segment?
Contains two integers and (1 \le l \le r \le 10^{15}).
Print the required amount.
Example 1