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