SP4580 ABCDEF - ABCDEF

Description

You are given a set S of integers between -30000 and 30000 (inclusive). Find the total number of sextuples ![](https://cdn.luogu.com.cn/upload/vjudge_pic/SP4580/60da4a6ec7452a0168508bec756f9c6a0109d346.png) that satisfy: ![](https://cdn.luogu.com.cn/upload/vjudge_pic/SP4580/5ae23b14079f628cec1090fc74b452939c2ffbe4.png) ### 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.

Input Format

N/A

Output Format

Output the total number of plausible sextuples.