#include <iostream>
using namespace std;
int main(){
int vet [10], primo[10],i, x,aux=0;
for (x=0;x<10;x++){
cout <<"Preencha o vetor: ";
cin >> vet[x];
}
for (x=0;x<10;x++){
for (x=1;x<=vet[x];x++){
if (vet[x] % x == 0){
aux++;
i = aux;
primo[x] = i;
}
}
}
for (x=0;x<10;x++){
cout <<primo[x]<<endl;
}
for (x=0;x<10;x++){
if (primo[x] <= 2){
cout <<"E PRIMO"<<endl;
} else {
cout <<"NAO E PRIMO"<<endl;
}
}
}