Three research departments have
9

,
8

, and
7

members, respectively. Each department is to select a delegate and an alternate to represent the department at a conference. In how many ways can this be done?