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