A single line of four cats one behind the other walks towards and head-on into a single line of five cats walking in the opposite direction. When two of the nine cats meet, they both switch directions and then continue walking. How many meetings take place?