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