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