I have a integer m, and the other n numbers, can you find how many pairs of two integers in these n numbers that the sum of these two integers is equal to m?
输入
Input until EOF. First line will contain two integers m (0<m<10000) and n (0<n<10000), and then n integers follow in next line. Each integer is x (0<x<10000).