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