#ENGLISHP28. Sum Number

Sum Number

Description

Given a sequence of N number. How many numbers in the sequence are there which equal to the sum of two different numbers in the sequence.

Input Format

First line: one positive integers N (N <= 100).
Second line: N positive integers (<= 100000).

Output Format

One integer.

4
1 3 4 2
2