Divya is organizing a training for two different seminars, one for teachers and one for mechanics. She has a total of 132 pens a
nd 87 pads of paper. If each of the teachers need 3 pads of paper and 5 pens, and each of the mechanics needs 1 pad of paper and 2 pens, how many teachers and mechanics can she have at the conventions?