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