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