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