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