Submit solution

Points: 0.10
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Tìm phần tử X có trong dãy số A1, A2, .. An hay không?

Nếu có in ra YES còn không có in ra NO

Input

Dòng thứ nhất chứa số n (n<=100) và x (x<=1000)

Dòng thứ hai gồm n số Ai (Ai<=1000) của mảng A

Output

Phần tử nhỏ nhất của mảngmảng

Examples

Input

3 2
2 3 4

Output

YES

Comments

Please read the guidelines before commenting.


There are no comments at the moment.