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