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