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