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