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