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