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