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