v(gt).m.pe{|a|y=0 a.any?{|x|i=x a[y+=1,7].any?{|v|v==i-=1or v==x*2-i}}or s a*?\s}