#include <iostream>
#include <algorithm>
using namespace std;

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