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