_==0 "exec" "gawk" "-f" "$0" function f(n) { return n%15==0 ? 8 : n%3==0 || n%5==0 ? 4 : length(n) } BEGIN{RS="[ \n]"}{t+=f($0)}END{print t}