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