#include<stdio.h>
#include<math.h>
int sushu(long long n)
{
long long sqrt_n=sqrt(n);
for(long long i=2;i<=sqrt_n;i++)
{
if(n%i==0)
{
return 0;
}
}
return 1;
}
int main()
{
long long M,i;
while(scanf("%lld",&M)!= EOF)
{ long long K;
K=M;
for(long long i=K/2;i<=K;i++)
{
if(sushu(i)&&sushu(K-i))
{
printf("%lld %lld\n",K-i,i);
break;
}
}
}
return 0;
}
标签:return,1.11,int,编程,long,C语言,sqrt,sushu,lld From: https://blog.csdn.net/2401_88154394/article/details/143754571