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