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