#include<iostream>
#include<algorithm>

using namespace std;

int n, x, y, b, p;

int main(){
	while(cin >> n, n){
		int res = 0;
		bool ok = false;
    	for(int i = 0;i < n;i++){
			cin >> x;
			if(x > 0)res++;
			if(x > 1)ok=true;
		}
		if(ok)cout << res + 1 << endl;
		else cout << "NA" << endl;
	}	
	return 0;
}