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