#include <iostream>
using namespace std;

int n, n0, n2, t;

int main(){
	while (cin >> n && n) {
		n0 = n2 = 0;
		for (int i = 0; i < n; i++) {
			cin >> t;
			if (t) {
				if (t > 1) n2++;
			}
			else {
				n0++;
			}
		}
		if (n2) {
			cout << n - n0 + 1 << endl;
		}
		else {
			cout << "NA" << endl;
		}
	}

	return 0;
}