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