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