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