A family went for a vacation. Unfortunately, it rained daily for 13 days when they were there. But whenever it rained in the mornings, they had clear afternoons and vice versa. In all, they enjoyed 11 mornings and 12 afternoons. How many days in all did they stay there?