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