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