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