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