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