n = int(input()) a = list(map(int, input().split())) v = int(input()) print(a.count(v))
list๋ช .count(์ฐพ๊ณ ์ ํ๋ ๋ฌธ์) ํด๋น list ์์ ์ฐพ๊ณ ์ ํ๋ ๋ฌธ์๊ฐ ๋ช ๊ฐ ์๋์ง ๊ฐฏ์๋ฅผ ์