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