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