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