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