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