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