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