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