x1y x2y x3y x4y - four matches here x5y x6y x7y - three here x8y x9y - two here