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