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