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