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