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