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