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