t=⊤ read n while read -aq do((q[n]))&&for((i=0;i