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