read t for ((i=0;i= 6)); then s=3 fi echo $((m/2*3+r/10*6+s)) fi done