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