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