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