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