#include using namespace std; int main() { bool isc[1001]={0}; int x,n; scanf("%d",&n); for(int i=0;i