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