IntermediateDictionaries2000 ms256 MB

Project Tags

Given `n` project tags and one target tag, count how many times the target appears.

Statement

Given `n` project tags and one target tag, count how many times the target appears.

Input

First line: `n`. Next `n` lines: tags. Last line: target tag.

Output

Print the number of matching tags.

Constraints

  • `1 <= n <= 100000`

Examples

Example 1

Input

4
python
web
python
data
python

Output

2

The tag python appears twice among the four tags.

Sample runs use visible examples. Full submissions are checked securely on the server, and private test cases are not shown in the browser.