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