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