A certain committee consists of 18 people. From the committee, a president, a vice-president, and a treasurer are to be chosen. In how many ways can these 3 offices be filled? Assume that a committee member can hold at most one of these offices.