Exercise 2. Over a certain number of days, it was observed that on each day it rained in the morning, it was sunny in the afternoon, and that on each day it rained in the afternoon, it had been sunny in the morning.

During the observation period, it rained on 15 days, and it was sunny 8 mornings and 13 afternoons.

How many mornings did it rain?