Array of integers a_1, a_2, \ldots, a_n is given. Find the product
If you are not familiar with short notation, this product equals to
In other words, this is the product of |a_i − a_j| for all 1 \le i < j \le n.
As the result will be very big, find it modulo .
First line contains two integers n\:(n \le 10^5) and m\:(m \le 1000). Next line contains integers a_1, a_2, \ldots, a_n\:(0 \le a_i \le 10^9).
Print the value of the product modulo .
Example 1