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