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