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