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