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