The electronics company makes two types of switches. Type a takes 4 minutes to make and requires $3 worth of materials.Type b takes 5 minutes to make and requires $5 of materials. In the latest production bath, it took 32 hours to make these switches and the materials cost 1740. How many of each type of switch was made?