The Normandy landings in World War II were fierce, and the Allies won but sacrificed heavily; after the war, the Master Chief began to count the number of soldiers,
Through the soldier ’s registration card number, I hope to know how many soldiers were killed unfortunately, but the number is large, and it is not easy to count.
The military registration number has also been registered repeatedly. Please help to solve this problem.
Multi-assessment, two lines for each assessment,
Two integers N and M in the first line, N is the number of soldiers participating in the war, M is the number of registration numbers,
The second line has M integers, which represent the registered military registration number of the returning soldier.
(1 <N, M <10000)
One line for each capital measurement,
Output the number of soldiers who lost their lives (small to large).
If all soldiers survived, output ‘@’
Format as example
3 1 5 7
6 1 3 2 5 4
6 1 1 1 2 5 2 5
2 4 6