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