{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"给定$L$,$R$,求区间$[L,R]$中距离最近的一对素数$p1\u003cp2$,和距离最远的一对素数$p3\u003cp4$\n\n如果不止一对素数距离最近(远),输出第一对"}},{"title":"Input","value":{"format":"MD","content":"多组数据\n每组一行两个整数 $L$,$R$\n$1\\leq L\u003cR \\leq 2,147,483,647$\n$R-L\\leq 1,000,000$"}},{"title":"Output","value":{"format":"MD","content":"每组一行\n有解输出两对素数\n无解则输出无解信息"}},{"title":"Sample Input","value":{"format":"MD","content":"2 17\n14 17"}},{"title":"Sample Output","value":{"format":"MD","content":"`2,3 are closest, 7,11 are most distant.`\n`There are no adjacent primes.`"}},{"title":"提示","value":{"format":"MD","content":"注意数据范围和输出格式"}}]}