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