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