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