A catering service offers appetizers, main courses, and desserts. A customer is to select appetizers, main courses, and desserts for a banquet. In how many ways can this be done?