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