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