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