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