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