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