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