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