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