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