#include<iostream>
using namespace std;

int main(){
	
	while(1){
	int N,k = 0,i,a=0,b=0;
		cin>>N;
		
		if(N==0)
			break;
		
		for(i = 0;i<N;i++){
			cin>>k;
			if(k >= 2)
			a = 1;
			if(k == 0)
			b++;
		}
		if(a == 0)
			cout<<"NA"<<endl;
		
		else
			cout<<N - b + 1<<endl;
		}
	return 0;
}		