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