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