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