n=int(input()) #size of list
l=[]
l=[int(i) for i in input().split()] #input of list elements
key=int(input()) #element need to search
if(key in l):
print("Yes")
else:
print("No")
To embed this project on your website, copy the following code and paste it into your website's HTML: