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