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