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