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