You Only Need One


Submit solution

Points: 1
Time limit: 2.0s
Memory limit: 256M

Problem types
Allowed languages
Python

Write a program that checks whether a target value appears in a list.

Input

The first line contains an integer, n, the number of values in the list.

The second line contains n values separated by spaces.

The third line contains the target value.

Output

Output Yes if the target value appears in the list.

Otherwise, output No.

Sample Input

5
66 101 cat 10 dog
cat

Sample Output

Yes

Comments

There are no comments at the moment.