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