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