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