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