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