import std.stdio,
       std.string,
       std.conv;

void main() {
    int N;
    while(N = readln.chomp.to!int, N) {
        auto i = readln.split;
        int[] a;
        foreach(v; i)
            a ~= v.to!int;
        int o, t;
        foreach(v; a) {
            if(v > 0)
                o++;
            if(v > 1)
                t++;
        }
        if(!t)
            "NA".writeln;
        else
            (o+1).writeln;
    }
}