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