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