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