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