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