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