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