Author:
Problem types
Points: 800 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Cho dãy \(a\), số nguyên \(n\) phần tử, đếm số số xuất hiện trong dãy đó.

Input

  • Dòng đầu gồm số nguyên n (\(1 \leq n \leq 200000\))
  • Dòng thứ 2 gồm n số nguyên (\(-10^9 \leq a_{i} \leq 10^{9}\))

Output

  • Kết quả.

Example

Test 1

Input
5
1 3 2 3 2
Output
3

Comments (18)

Most recent
Loading comments...