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