You are given two arrays and of lengths and respectively.
Let real number be a root of an equation if the equation holds for it. Calculate the number of roots for the following equation or determine if it has infinitely many roots:
Here denotes the absolute value of a number, i.e., |a| = a if a \geq 0 and |a| = -a if a < 0.
The first line of the input contains two integers and (1 \leq n \leq 2 \cdot 10^5; 1 \leq m \leq 2 \cdot 10^5).
The second line contains integers a_1, a_2, \dots, a_n (|a_i| \leq 10^9).
The third line contains integers b_1, b_2, \dots, b_m (|b_i| \leq 10^9).
In the only line, you need to output the number of roots for the given equation, or "Infinity" if there are infinitely many roots.
Example 1
Example 2
Example 3
In the first test case, the equation is |x-1| = |x-1|, which holds for any .
In the second test, the equation is
The root for this equation is x = 8:
It can be proved that this equation does not have other roots.
In the third test, the equation is
There are 3 roots for this equation: x = 2, x = 6\frac{2}{3}, x = 10. Notice that roots can be not only integers.
It can be proved that this equation does not have other roots.
( points): n = m; a_i = b_i (1 \leq i \leq n);
( points): n = m = 1;
( points): |a_i| \leq 20 (1 \leq i \leq n); |b_i| \leq 20 (1 \leq i \leq m);
( points): n, m \leq 1\,000;
( points): no additional constraints.