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