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