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