There are 6 baskets on the table. Each basket has 6, 9, 15, 12, 10 and 7 apples. Olivia chose third, Sean chose second, Emma chose first, Matt chose fourth, Liam chose sixth, and John chose fifth. How many apples did John and Matt choose in total?