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