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