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