In how many ways could 18 people be divided into five groups​ containing, respectively, 1​, 5​, 3​, 7​, and 2 ​people?