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