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