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