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