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