Ming writes a number pattern on a slip of paper and hands it to his friend Jack. 24 21 23 20 22 19 21 18 Jack writes the next number in the pattern and hands the paper back to Ming. What number should Jack write?