You need to check if the elder of Takahashi Village stays awake after being tapped on the shoulder a certain number of times. If the time between taps exceeds a specific limit, he will fall asleep. Your task is to find out if he stays awake until the last tap.
Input: 5 10
6 11 21 22 30
Output: Yes
Input: 2 100
1 200
Output: No