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