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