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