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