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