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