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