Find the number of ways of arranging the numbers 1, 2, 3, 4, 5, 6 in a row so that the sum of any two adjacent numbers is even.