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