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