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