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