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