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