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