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