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