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