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