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