Shoes cost $20 a pair and boots cost $60 a pair. Arlene and Jerry spent $8000 and bought 3 times as many boots as shoes. How many pairs of each did they buy?​