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