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