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