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