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