#include <iostream>
using namespace std;
int main(void){
    int n,a;
    while( cin >> n,n ){
        int f = 0,count = 0;
        for(int i = 0 ; i < n ; i++){
        cin >> a;
        if(a > 1)f = 1;
        if(a > 0)count++;
    }
    if(f)cout << count + 1 << endl;
    else cout << "NA" << endl;
  }
}
