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