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