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