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