read n read -aa read -ab f(){ local i for((r+=($1==n&$2>n)*100;ib[$1]]*2 $[$3|1<