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