On a ballot, the candidates for each office are listed together under the office for which they are running. In an election with 6 candidates for one office and 3 candidates for another office, how many different versions of the ballot are possible?