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