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