Use "for N; do" instead of "for N in $@; do"

Omitted "in" clause in for statements that expand positional parameters.