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