Five candidates are running for three different class offices: president, vice president, and secretary. In how many ways can the offices be filled with these candidates?