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