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