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