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