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