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