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