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