#include <iostream>
using namespace std;

int main(){

  int n,a;

  while( cin >> n,n){

    int flag = 0,cnt = 0;

    for(int i = 0 ; i < n ; i++){
      cin >> a;
      if(a > 1)flag = 1;
      if(a > 0)cnt++;
    }
    if(flag)cout << cnt + 1 << endl;
    else cout << "NA" << endl;
  }
}