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