#include<iostream>
#include<algorithm>
using namespace std;
int a[1000000];
signed main(){
  int n,y,x;
  while(1){
    y=0;
    x=0;
    cin>>n;
    if(n==0) break;
    for(int i=0;i<n;i++){
      cin>>a[i];
      if(a[i]>=1){
	y=y+1;
      }
      if(a[i]>=2){
	x=x+1;
      }
    }
    if(x==0){
      cout<<"NA\n";
    }
    else{
      cout<<y+1<<"\n";
    }
  }
  return(0);
}
