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