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