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