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