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