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