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