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