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