题目描述
Problem Statement
You are given a set S of integers between -30000 and 30000 (inclusive).
Find the total number of sextuples
that satisfy:

Input
The first line contains integer N (1
Elements of S are given in the next N lines, one integer per line. Given numbers will be distinct.
Output Format
Output the total number of plausible sextuples.
Sample Input and Output
Sample Input #1
1
1
Sample Output #1
1
Sample Input #2
2
2
3
Sample Output #2
4
Sample Input #3
2
-1
1
Sample Output #3
24
Sample Input #4
3
5
7
10
Sample Output #4
10
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
1
1
样例输出
1