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