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