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