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