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