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