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