Problem 28503 --取石子游戏

28503: 取石子游戏

Time Limit: 2 Sec  Memory Limit: 256 MB
Submit: 1  Solved: 1
[Submit][Status][Web Board][Creator:][下载FPS0元][添加到购物车][下载测试数据0元][58kb]

Description

Input

Output

Sample Input

2
1 1
1
2 30
197943
249832

Sample Output

Preempt.
Leapfrog.

HINT



Source

[Submit][Status]