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