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