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