A catering service offers 6 appetizers, 12 main courses and 7 desserts. A banquet committee is to select 2 appetizers, 8 main courses, and 3 desserts. How many ways can this be done?