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