#include<iostream>
using namespace std;

int main(){

  int n;
  int d[20000];

  while(cin >> n, n){
    int m = n;
    bool p = false;
    for(int i=0;i<n;i++){
      cin >> d[i];
      if(d[i] > 1) p = true;
      if(!d[i]) m--;
    }

    if(p) cout << m + 1 << endl;
    else cout << "NA" << endl;

  }
}