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