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