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