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