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