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