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