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