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