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