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