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