You are given a set of integers between and (inclusive).

Find the total number of sixtuples (a, b, c, d, e, f): a, b, c, d, e, f \in S, d \neq 0 that satisfy:
The first line contains integer (1 \leq n \leq 100), the size of set . The elements of are given in the second line. The given numbers are distinct.
Print the total number of sought sixtuples.
Example 1