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