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