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