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