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