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