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