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