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