Arrange the 9 numbers 12, 13, ..., 20 in a row such that the sum of every three consecutive numbers is a multiple of 3. How many such arrangements are there?