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