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