1) In this question, we need to reason a bit. There is only one vacancy for president, vice president, and one secretary.
2) So, we can write out the following Permutation since the president, vice president and secretary will come out of those 30 students:
Thus there will be: