You need to check if a person's rating allows them to participate in a specific division of a contest. If their rating falls within the allowed range for that division, you will answer 'Yes'; otherwise, you will answer 'No'.
Input: 2000 1
Output: Yes
Input: 1000 1
Output: No