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