To encourage public transportation, Ronny wants to give some friends envelopes with bus tickets and subway tickets in them. If he has 18 bus tickets and 12 subway tickets to split equally among the envelopes and wants no tickets left over, what is the greatest number of envelopes Ronny can make?