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