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