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