Given an array of integers. Find the number of unordered pairs , such that
Input format
Output format
Print the number of unordered pairs which satisfy the above conditions in a new line.
Constraints
Following unordered pairs satisfy the above conditions: