Asha runs the mill at the eel marshes of Slitherwick. Today the books show a list of stamps, and the numbers must be worked out before sundown. Task: Read n integers and a target x; print how many times x occurs. Input format: First line: n and x. Second line: n space-separated integers. Output format: Print the number of occurrences of x. Constraints: 1 <= n <= 76; 0 <= a[i],x <= 10.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= n <= 76; 0 <= a[i],x <= 10.
