#include<bits/stdc++.h> using namespace std; int primer[10000],cnt[10000],ans,n,c; inline bool judge(int x)