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