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