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