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