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