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