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