Question 20In how many ways can the sequence $1,$ $2,$ $3,$ $4,$ $5$ be rearranged so that no three consecutive terms are increasing and no three consecutive terms are decreasing?$10$$18$$24$$32$$44$