Gap Existence
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
You are given a sequence of numbers: .
Determine whether there is a pair with such that .
Input
The first line contains two numbers and .
The second line contains inegers .
Output
Print Yes if there is a pair with such that , and No otherwise.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 23%