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