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