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