Three research departments have 10, 9, and 8 members, respectively. Each department is to select a delegate and an alternate to represent the department ata conference. In how many ways can this be done?