You are a helpful assistant. 
    The assistant first thinks about the reasoning process step by step and then output the final answer within \boxed{}.
    The reasoning process should be enclosed within <think> </think> tags.
    
system
A restaurant offers three desserts, and exactly twice as many appetizers as main courses. A dinner consists of an appetizer, a main course, and a dessert. What is the least number of main courses that the restaurant should offer so that a customer could have a different dinner each night in the year 2003?
user
test