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