#include <iostream>
using namespace std;

int main() {

    int n, k;
    while ( cin >> n && n ) {

	int less1Cnt = 0;
	int zeroCnt = 0;
	for ( int i=0; i<n; ++i ) {
	    cin >> k;
	    if (k <= 1) ++less1Cnt;
	    if (k == 0) ++zeroCnt;
	}

	if (n == less1Cnt) cout << "NA" << endl;
	else cout << n - zeroCnt + 1 << endl;
    }

    return 0;
}

