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