Kingdom of Obsession

Time Limit: 1000ms
Memory Limit: 32768KB
This problem will be judged on HDU. Original ID: 5943
64-bit integer IO format: %I64d      Java class name: Main

Description

There is a kindom of obsession, so people in this kingdom do things very strictly.

They name themselves in integer, and there are $n$ people with their id continuous $(s+1, s+2, \cdots, s+n)$ standing in a line in arbitrary order, be more obsessively, people with id $x$ wants to stand at $y^{th}$ position which satisfy

$$x \mod y = 0$$

Is there any way to satisfy everyone's requirement?

Input

First line contains an integer $T$, which indicates the number of test cases.

Every test case contains one line with two integers $n$, $s$.

Limits
$1 \leq T \leq 100$.
$1 \leq n \leq 10^9$.
$0 \leq s \leq 10^9$.

Output

For every test case, you should output 'Case #x: y', where x indicates the case number and counts from 1 and y is the result string.

If there is any way to satisfy everyone's requirement, y equals 'Yes', otherwise y equals 'No'.

Sample Input

2
5 14
4 11

Sample Output

Case #1: No
Case #2: Yes

Source

Language: 
Theme: 
Share Code? 

Powered by NB231 | Current Style: .