Problem C: 取石子游戏

Memory Limit:256 MB Time Limit:2.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

Sample Input Copy

2
1 1
1
2 30
197943
249832

Sample Output Copy

Preempt.
Leapfrog.

HINT

直接输出输出即可 不需要做文件输入输出