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