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