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