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