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