from Cattle Quest
Save all 12 cows without changing horizontal direction more than 23 times. Moving up and down is allowed.