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