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