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