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