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