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