6697 - Prime Distance
时间限制 : 1 秒
内存限制 : 128 MB

输入
多组数据。每行两个数L,R。
输出
相见样例输出。
样例
输入
2 17 14 17
输出
2,3 are closest, 7,11 are the distant. There are no adjacent primes.
来源
一本通