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