Some friends went on a vacation to a resort. It poured sown heavily for 13 days. But when it rained in the morning , the afternoon was beautiful and when it rained in the afternoon, the day was followed by clear morning. Altogether there were 11 very nice mornings and 12 very nice afternoons. How many days did the vacation last?