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