Problem Description

Given n numbers and x, count how many times x appears.

Input Format

Line1 n x. Line2 n integers.

Output Format

One integer count.

Sample Test Case

Input:
6 3 1 3 3 2 3 5
Output:
3

Constraints

n

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next