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