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