three different types of numbers with the same number in each row and one on each side