#include <bits/stdc++.h>
using namespace std;
const int maxn=100000+5;
int prime[maxn];
void getPrime(){
memset(prime,0,sizeof(prime));
for(int i=2;i<=maxn;i++){
if(!prime[i]) prime[++prime[0]]=i;
for(int j=1;j<=prime[0]&&prime[j]*i<=maxn;j++){
prime[p...