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