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