如果n和n+2都是素数,则称它们是孪生素数。输入m,输出两个数均不超过m的最大孪生素数。5<=m<=10000。
例如,m=20时,答案是17,19;m=1000时,答案是881,883。
PS: prime number is, a number that can be divided only by itself and the number one. For example, three and seven are prime numbers. 即,只能被1和它自身整除的、且大于1的整数称为素数 。因为要找到最大的孪生素数,可以从大到小枚举n,依次判断n和n+2是否均为素数。