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