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