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