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