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