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