{m=NR%3;n-=a[m]-(a[m]=$1)}NR>=3{x+=o&&o