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