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