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