Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c=int(input())
- N=[int(i) for i in input(). split()]
- X=int(input())
- a=0
- for i in N:
- if i==X:
- a+=1
- print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement