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