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