A rabbit eats 6 carrots in the morning, 6 carrots in the afternoon, and 6 carrots in the evening. How many carrots does it eat in a day?