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