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