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