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