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